Hi Didier,

Didier Kryn writes:

> Le 18/12/2021 à 15:22, Florian Zieboll via Dng a écrit:
>> On December 18, 2021 2:43:30 PM GMT+01:00, Didier Kryn <k...@in2p3.fr> wrote:
>>
>>> apt-get remove --purge libpulse0 wants to remove the following (which
>>> includes gimp):
>>>
>>> The following packages will be REMOVED:
>>>  atril* audacious* audacious-plugins* blueman* ffmpeg* font-manager*
>>> geeqie*
>>>  gimp* gstreamer1.0-libav* gstreamer1.0-plugins-good* libasound2-plugins*
>>>  libatrilview3* libavdevice58* libavfilter7* libffmpegthumbnailer4v5*
>>>  libfluidsynth2* libgegl-0.4-0* libgimp2.0* libopenscenegraph161*
>>>  libpocketsphinx3* libpulse-mainloop-glib0* libpulse0* libqt5multimedia5*
>>>  libsdl-image1.2* libsdl1.2debian* libsdl2-2.0-0* libsphinxbase3*
>>>  libwebkit2gtk-4.0-37* libyelp0* metacity* metacity-themes* pavucontrol*
>>>  qemu-system-gui* scribus* surf* vlc* vlc-plugin-base* xfce4*
>>>  xfce4-pulseaudio-plugin* yelp* zenity*
>>> 0 upgraded, 0 newly installed, 41 to remove and 0 not upgraded.
>>
>> Hallo Didier,
>>
>> do you perhaps have something like an auto-'autoclean' policy defined in 
>> your apt configuration?
>>
>> Libre Grüsse,
>> Florian
>>
> (sda5)root@apcnb98:/etc/apt/apt.conf.d# grep auto- *
> 01autoremove-kernels:// DO NOT EDIT! File autogenerated by
> /etc/kernel/postinst.d/apt-auto-removal

Wrong grep pattern :-/
Try

  apt-config dump | grep -i APT::AutoRemove::

For one of my machines that gives

  $ apt-config dump | grep -i APT::AutoRemove::
  APT::AutoRemove::RecommendsImportant "true";
  APT::AutoRemove::SuggestsImportant "true";

meaning that automatically installed packages that have only a Suggests:
or Recommends: dependency left, i.e. no Depends: or Pre-Depends:, will
be removed.  Looks like you have something similar in which cause you
should probably run

  apt-mark manual <packages>

with a list of <packages> you definitely want to keep.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to