Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Folderol Newsgroups: comp.sys.raspberry-pi Subject: Re: Raspbian Jessie is here Date: Fri, 2 Oct 2015 20:56:16 +0100 Organization: A noiseless patient Spider Lines: 44 Message-ID: <20151002205616.7dbe8f8f@debian> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: mx02.eternal-september.org; posting-host="4c8c017bf2000d02e906f28de06f0c9d"; logging-data="1157"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18KYVfajNqsszpl8ii1ing5BqMScnh1vTI=" X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Cancel-Lock: sha1:FcPovRJEyPKgMEbSbIA4zdmX2P8= Xref: csiph.com comp.sys.raspberry-pi:9753 On Fri, 2 Oct 2015 15:19:27 -0400 rickman wrote: > On 10/2/2015 3:10 PM, ray carter wrote: > > On Fri, 02 Oct 2015 13:37:17 -0400, rickman wrote: > > > >> On 10/2/2015 5:33 AM, cl@isbd.net wrote: > >>> Martin Gregorie wrote: > >>>> About a year back I discovered autoclean and put it first on the > >>>> grounds that its nice to clean house before getting in more stuff. In > >>>> fact I don't think it matters whether its first or last because, with > >>>> the sequence being run about once a week, it is always run after the > >>>> last upgrade in the cycle. I think the same argument applies to > >>>> dist-upgrade. > >>> > >>> As I understand it autoclean removes the downloaded installation files > >>> so doing it *after* update and upgrade might get rid of a few more > >>> files. > >>> > >>> Don't you ever do an 'apt-get autoremove'? That removes packages which > >>> are no longer needed. I.e. if you installed package X that depends on > >>> package Y and then decide you don't need package X and remove it > >>> 'apt-get autoremove' will see that package Y is no longer needed > >>> (assuming nothing else depends on it) and remove that for you. (Sorry > >>> about the horribly long sentence!) > >> > >> If you don't remove package X, how does the autoremove tool know that > >> package X is needed? Does something keep track of the packages that are > >> installed because you asked for them and which were installed > >> automatically? > > > > The package manager keeps track of what is installed. See 'man dpkg' and > > 'man dpkg-query' for available options. > > That's not what I asked. I am asking what the autoremove tool uses to > decide to remove a package? The package manager knows the difference between what has been specifically installed and what it then has pulled in as dependencies. It also knows if you have installed -dev headers that it must not automatically remove them (or the associated runtime libraries) even if nothing seems to use them. -- W J G