Possible strange question about apt/apt-get

Robert Heller heller at deepsoft.com
Thu Jul 16 22:00:33 UTC 2020


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.

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