0

I need to download the Debian files that apt-get update retrieves. From my logs, it looks like the following are retrieved:

While there are URLs, they are clearly not full paths. How do I download the actual files associated with each of the above?

1
  • Debian 9 has onlñy a few months of support left. What you should be concerned with is the update to the current Debian 11. Commented Apr 27, 2023 at 16:12

1 Answer 1

0

This question is handled in the post How do I generate a package download list?

The answer by Anwar contains this command :

sudo apt-get upgrade --allow-unauthenticated -y --print-uris | grep -o '\'http.*\' | tr "\'" " " > download-list

You will find more methods in the linked answer and also in the other answers in this post.

1
  • A precaution from man apt-get: --allow-unauthenticated Ignore if packages can't be authenticated and don't prompt about it. This can be useful while working with local repositories, but is a huge security risk if data authenticity isn't ensured in another way by the user itself. The usage of the Trusted option for sources.list(5) entries should usually be preferred over this global override. Configuration Item: APT::Get::AllowUnauthenticated. — The linked answer by Anwar is dated 2012. At that time there have been some issues with the authentication. But meanwhile this has changed.
    – dodrg
    Commented Apr 28, 2023 at 7:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .