0

I'm trying to download (download only, not install) some packages and it's dependencies so I can install them later offline. I was told to use the command apt-get install --download-only [package].
This works just fine on ubuntu but fails on debian for some reason.

I'm using bind9 as an example but it's the same for every other package.

And I have tried this, but the output is also errors on debian.

Is there any solution for this?

1 Answers1

2

I solved this by re-installing it and choosing a network mirror during the instalation.

  • Or simply edit your `/etc/apt/sources.list` file as the [documentation](https://wiki.debian.org/SourcesList#Example_sources.list) say. (In your case the first URL is missing) – GAD3R Sep 27 '18 at 09:12