On Fri 01 Dec 2023 at 21:55:42 (-0500), Greg Wooledge wrote: > On Sat, Dec 02, 2023 at 02:52:25AM +0000, Albretch Mueller wrote: > > direct dependencies of packages which haven't been downloaded, > > install. I need to download those packages. > > These should be a straightforward way to do that or an easy hack. > > I'm still struggling to figure out what the X is in this gigantic X-Y > problem. > > Do you have a .deb file, and you want to install it, along with all of > its dependencies? If that's the X, then you do this: > > apt install ./myfile.deb > > That's it.
[In view of the time of day:] That requires you to be online, aka "exposed mode". The OP only exposes a live USB to the outside world, not their "real" system. I dimly recollect something called apt-move, but I never needed to use it. Back in the days of dial-up, when I had a real job, I would upgrade my desk's tower, copy the (uncleaned) archives/ directory onto a Zip drive, take it home and install the .debs onto my home desktop, configured identically, with dpkg. Cheers, David.