Possible strange question about apt/apt-get

Robert Heller heller at deepsoft.com
Fri Jul 17 15:35:05 UTC 2020


At Fri, 17 Jul 2020 16:16:13 +0200 "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> 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?

Yes, it does.

> 
> Petter
> 

-- 
Robert Heller             -- 978-544-6933 Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                                     




More information about the ubuntu-users mailing list