Possible strange question about apt/apt-get
Petter Adsen
petter at nillabs.com
Fri Jul 17 14:16:13 UTC 2020
On Thu, 16 Jul 2020 18:00:33 -0400 (EDT)
Robert Heller <heller at deepsoft.com> wrote:
> I have what is probably a "strange" question about apt-get (or maybe
> apt).
>
> I am currently on a dialup connection, so doing a "normal"
> "apt-get install <something>" is sometimes not realistic, at least
> for some of my machines, since the download would take hours and
> hours at dialup speeds. What I would like to do is create a script
> using wget to run on my laptop (running CentOS 6 on an x86_64
> processor) to download the batch of .deb files needed for one of my
> little Debian-flavored machines (in partitular one running armbian
> aarch64). I tried a *simple* script that tries to get the urls by
> scanning the files in /var/lib/apt/lists, but it is not working --
> some of the packages are in more than one list and I don't know
> apt-get's "magic" to figure out which host is the right one.
>
Maybe apt-offline will help?
Petter
--
"Chaos, panic and disorder. My work here is done." --Anne Onymous
More information about the ubuntu-users
mailing list