Re: apt-get autoclean configuration

2017-07-21 Thread solitone
On Friday, 21 July 2017 16:09:15 CEST Curt wrote: > The man page sends you to '/usr/share/doc/apt/examples/configure-index.gz', > where the boolean values are exclusively (I think) "true" or "false", as > are all the default values in the /etc/apt/apt/apt.conf.d "fragments." I see, but what confus

Re: apt-get autoclean configuration

2017-07-21 Thread Curt
On 2017-07-19, wrote: > >> >> $ cat /etc/apt/apt.conf.d/80autoclean >> APT::Clean-Installed "false"; > > Didn't find any ref in the docs, so I downloaded the package source > (with a tip o' the hat to the "video driver/free software" thread, > esp. to Doug there: hi, Doug :-) The man page send

Re: apt-get autoclean configuration

2017-07-20 Thread Fungi4All
> From: solit...@mail.com > The thing is that it"s not obvious to me that you can set any of the values: > "true", "on", "yes" vs. "false", "off", "no". A bit off topic, but in some places the ^ means high in others it means low on top. As in file managers and taks managers. Whatsupwitdat? But eve

Re: apt-get autoclean configuration

2017-07-20 Thread solitone
On Thursday, 20 July 2017 08:25:41 CEST David Wright wrote: > On Wed 19 Jul 2017 at 16:21:57 (+0200), to...@tuxteam.de wrote: > > On Wed, Jul 19, 2017 at 03:48:03PM +0200, solitone wrote: > > > On Wednesday, 19 July 2017 15:22:33 CEST to...@tuxteam.de wrote: > > > > echo "APT::Clean-Installed no;

Re: apt-get autoclean configuration

2017-07-20 Thread David Wright
On Wed 19 Jul 2017 at 16:21:57 (+0200), to...@tuxteam.de wrote: > On Wed, Jul 19, 2017 at 03:48:03PM +0200, solitone wrote: > > On Wednesday, 19 July 2017 15:22:33 CEST to...@tuxteam.de wrote: > > > echo "APT::Clean-Installed no;" > /etc/apt/apt.conf.d/no-autoclean > > > > I've set it to "false"

Re: apt-get autoclean configuration

2017-07-20 Thread solitone
On Wednesday, 19 July 2017 23:02:04 CEST to...@tuxteam.de wrote: > There is this function StringToBool in apt-pkg/contrib/strutl.cc: > > [...] > > |// Check for positives > |if (strcasecmp(Text.c_str(),"no") == 0 || > | > |strcasecmp(Text.c_str(),"false") == 0 || > |

Re: apt-get autoclean configuration

2017-07-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jul 19, 2017 at 03:48:03PM +0200, solitone wrote: > On Wednesday, 19 July 2017 15:22:33 CEST to...@tuxteam.de wrote: > > echo "APT::Clean-Installed no;" > /etc/apt/apt.conf.d/no-autoclean > > I've set it to "false", not to "no". The manual s

Re: apt-get autoclean configuration

2017-07-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jul 19, 2017 at 03:48:03PM +0200, solitone wrote: > On Wednesday, 19 July 2017 15:22:33 CEST to...@tuxteam.de wrote: > > echo "APT::Clean-Installed no;" > /etc/apt/apt.conf.d/no-autoclean > > I've set it to "false", not to "no". The manual s

Re: apt-get autoclean configuration

2017-07-19 Thread solitone
On Wednesday, 19 July 2017 15:22:33 CEST to...@tuxteam.de wrote: > echo "APT::Clean-Installed no;" > /etc/apt/apt.conf.d/no-autoclean I've set it to "false", not to "no". The manual says "off", but didn't find any occurence of "on" and "off" in the other apt config files, just "true" or "false

Re: apt-get autoclean configuration

2017-07-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jul 19, 2017 at 02:51:28PM +0200, solitone wrote: > >From 'man apt-get': > > autoclean (and the auto-clean alias since 1.1) >[...] >The configuration >option APT::Clean-Installed will prevent installed packa

apt-get autoclean configuration

2017-07-19 Thread solitone
>From 'man apt-get': autoclean (and the auto-clean alias since 1.1) [...] The configuration option APT::Clean-Installed will prevent installed packages from being erased if it is set to off. I've just lost some cached package files, although they are in