On Tue, Jul 25, 2017 at 07:40:17PM +0100, Brian wrote:
> /usr/share/doc/apt/examples/configure-index.gz has
> 
>      AutomaticRemove "false";       
>      HideAutoRemove "false";
> 
> as configuration directives. I've never tried them but wouldn't mind
> "true" being tested by someone and learning what happens.

Oh, that looks promising.

titan:~$ cat /etc/apt/apt.conf.d/99local
// APT::NeverAutoRemove ".";
titan:~$ sudo apt-get -u upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  docutils-common docutils-doc firebird2.5-common firebird2.5-common-doc
  firebird2.5-server-common firebird3.0-common firebird3.0-common-doc
  fvwm-icons imagemagick-common liba52-0.7.4 libalgorithm-c3-perl
  libarchive-extract-perl libasn1-8-heimdal libavcodec56 libavdevice55
  libavformat56 libavresample2 libavutil54 libb-hooks-endofscope-perl
  libbind9-90 libbluetooth3 libboost-system1.55.0 libc6-i686:i386
  libclamav-client-perl libclass-c3-perl libclass-c3-xs-perl
  libclass-method-modifiers-perl libclass-xsaccessor-perl libcolamd2.8.0
  libcpan-changes-perl libcpan-meta-perl libdata-perl-perl
  libdata-section-perl libdca0 libdevel-caller-perl
  libdevel-globaldestruction-perl libdevel-lexalias-perl libdirectfb-1.2-9
....

titan:~$ sudo vi /etc/apt/apt.conf.d/99local
titan:~$ cat /etc/apt/apt.conf.d/99local
APT::NeverAutoRemove ".";
titan:~$ sudo apt-get -u upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

That'll work!  Thanks.

Reply via email to