[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packages listed vs. apt-rdepends --follow=Depends ...



On Sat 02 Dec 2023 at 13:48:34 (+0000), Darac Marjal wrote:
> On 02/12/2023 04:22, Greg Wooledge wrote:
> > On Fri, Dec 01, 2023 at 10:01:54PM -0600, David Wright wrote:
> > > On Fri 01 Dec 2023 at 21:55:42 (-0500), Greg Wooledge wrote:
> > > >      apt install ./myfile.deb
> > > 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.
> > In that case, use apt-get instead of apt.  That way the downloaded .deb
> > files will not be removed afterward.  Then you can just sweep 'em up
> > from /var/cache/apt/archives, copy them to a stack of floppies, put
> > the floppies in a box, tie the box to a trained ferret, send the ferret
> > across town....
> 
> apt-get has the side effect of installing the packages on the
> connected system.

Not with the -d option. I think Greg may have suggested apt-get
because apt autocleans as a side effect, but that can be prevented
with a configuration option, IIRC it's APT::FtpArchive::Clean.

Cheers,
David.


Reply to: