The officially official Devuan Forum!

You are not logged in.

#1 2022-06-25 09:08:26

SpongeBOB
Member
From: Brussels
Registered: 2022-02-07
Posts: 89  

APT want to autoremove too much package..

Just to report a weird behavior of apt.

here the step to reproduce

# apt purge slim
select lighdm in the TUI
reboot

# apt purge lightdm
select slim in the TUI
reboot

# apt purge slim
I get

The following packages were automatically installed and are no longer required:
  coinor-libcbc3 coinor-libcgl1 coinor-libclp1 coinor-libcoinmp1v5 coinor-libcoinutils3v5
  coinor-libosi1v5 cups-client cups-pk-helper dns-root-data dnsmasq-base espeak-ng-data exfalso
  fonts-font-awesome fonts-lato fonts-opensymbol gimp-data gir1.2-atspi-2.0 gir1.2-gst-plugins-base-1.0
  gir1.2-gstreamer-1.0 gir1.2-gtksource-3.0 gir1.2-javascriptcoregtk-4.0 gir1.2-keybinder-3.0
  gir1.2-notify-0.7 gir1.2-packagekitglib-1.0 gir1.2-polkit-1.0 gir1.2-secret-1 gir1.2-soup-2.4
  gir1.2-webkit2-4.0 gir1.2-wnck-3.0 gnome-keyring gnome-keyring-pkcs11 gstreamer1.0-gtk3
  gstreamer1.0-pulseaudio hyphen-en-us javascript-common libabw-0.1-1 libamd2 libao-common libao4
  libappstream4 libatk-adaptor libaudio2 libayatana-appindicator3-1 libayatana-ido3-0.4-0
  libayatana-indicator3-7 libbabl-0.1-0 libbluetooth3 libboost-filesystem1.74.0 libboost-iostreams1.74.0
  libboost-locale1.74.0 libboost-thread1.74.0 libbrlapi0.8 libcamd2 libccolamd2 libcdr-0.1-1 libcholmod3
  libck-connector0 libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libcolamd2 libdotconf0
  libe-book-0.1-1 libeot0 libepubgen-0.1-1 libespeak-ng1 libetonyek-0.1-1 libexiv2-27
  libexttextcat-2.0-0 libexttextcat-data libfreehand-0.1-1 libgegl-0.4-0 libgegl-common libgexiv2-2
  libgimp2.0 libglib2.0-bin libgpgmepp6 libjim0.79 libjs-jquery libjs-sphinxdoc libjs-underscore
  libjuh-java libjurt-java liblangtag-common liblangtag1 libldb2 liblibreoffice-java
  liblightdm-gobject-1-0 liblouis-data liblouis20 libmbim-glib4 libmbim-proxy libmetis5 libmhash2
  libmm-glib0 libmspub-0.1-1 libmwaw-0.3-3 libmythes-1.2-0 libndp0 libneon27-gnutls
  libnetfilter-conntrack3 libnfnetlink0 libnl-route-3-200 libnm0 libnma-common libnma0
  libnumbertext-1.0-0 libnumbertext-data libodfgen-0.1-1 liborcus-0.16-0 liborcus-parser-0.16-0
  libpackagekit-glib2-18 libpagemaker-0.0-0 libpam-gnome-keyring libpcaudio0 libpcsclite1 libpython3.9
  libqmi-glib5 libqmi-proxy libqrcodegencpp1 libqxp-0.0-0 libraptor2-0 librasqal3 libraw20 librdf0
  libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
  libreoffice-gtk3 libreoffice-help-common libreoffice-help-en-us libreoffice-impress libreoffice-math
  libreoffice-style-colibre libreoffice-writer librevenge-0.0-0 libridl-java libsmbclient libsonic0
  libspeechd2 libstaroffice-0.0-0 libstemmer0d libsuitesparseconfig5 libtalloc2 libteamdctl0 libtevent0
  libumfpack5 libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3
  libuno-salhelpergcc3-3 libunoloader-java libvisio-0.1-1 libwbclient0 libwpd-0.10-10 libwpg-0.3-3
  libwps-0.4-4 libxmlsec1-nss libyajl2 libyaml-0-2 libzmf-0.0-0 lightdm-gtk-greeter lp-solve
  mobile-broadband-provider-info modemmanager mythes-en-us network-manager network-manager-gnome
  node-normalize.css orca p11-kit p11-kit-modules packagekit packagekit-tools perl-tk python3-brlapi
  python3-cairo python3-cups python3-cupshelpers python3-dbus python3-feedparser python3-gi-cairo
  python3-ldb python3-louis python3-musicbrainzngs python3-mutagen python3-pyatspi python3-pyinotify
  python3-smbc python3-speechd python3-talloc python3-uno python3-xdg quodlibet samba-libs sound-icons
  speech-dispatcher speech-dispatcher-audio-plugins speech-dispatcher-espeak-ng sphinx-rtd-theme-common
  system-config-printer system-config-printer-common system-config-printer-udev uno-libs-private ure
  usb-modeswitch usb-modeswitch-data wpasupplicant xbrlapi xkbset xsane xsane-common
Use 'apt autoremove' to remove them.

Most probably the answer will be in https://forums.debian.net//viewtopic.php?f=16&t=104157 ? tl;dr (yet)
That I received from Head_on_a_Stick


Linux noob, plz be kind big_smile

Offline

#2 2022-06-25 09:22:28

xinomilo
Member
Registered: 2017-07-02
Posts: 282  

Re: APT want to autoremove too much package..

how is this weird?
a lot of packages depend on the existence of a DM and you're removing both (lightdm + slim).
nothing weird there.

what's weird is how does slim gets reinstalled after you purged it initially.. something's missing in between probably.. you can't purge the same package twice..

Offline

#3 2022-06-25 16:26:23

MiyoLinux
Member
Registered: 2016-12-05
Posts: 1,235  

Re: APT want to autoremove too much package..

If I want to completely remove something, I use this command...

apt remove --purge package*

My understanding is...

remove - removes the actual package.

--purge - removes the package's configuration files.

I could be wrong, but it looks like you're possibly only removing slim's configuration files, but slim is staying on your system?


I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.

Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned. wink

Offline

#4 2022-06-26 09:47:51

SpongeBOB
Member
From: Brussels
Registered: 2022-02-07
Posts: 89  

Re: APT want to autoremove too much package..

MiyoLinux wrote:

...
My understanding is...

remove - removes the actual package.
--purge - removes the package's configuration files.

no @MiyoLinux

Stack Exchange wrote:

remove: leaves its configuration files on the system.
If a plus sign is appended to the package name (with no intervening space), the identified package will be installed instead of removed.

purge: is identical to remove except that packages are removed and purged (any configuration files are deleted too).

Last edited by SpongeBOB (2022-06-26 10:03:56)


Linux noob, plz be kind big_smile

Offline

#5 2022-06-26 09:51:20

SpongeBOB
Member
From: Brussels
Registered: 2022-02-07
Posts: 89  

Re: APT want to autoremove too much package..

xinomilo wrote:

.. you're removing both (lightdm + slim).

I don't remove both , because every time I purge Slim or lightdm APT see it and prompt me with the TUI and and can choose one of them... therefor I have always one of them

and then in the reported bug why apt want to remove so much ?

xinomilo wrote:

you can't purge the same package twice..

You mean I can't purge, reinstall and then purge once more !?


Linux noob, plz be kind big_smile

Offline

#6 2022-06-26 15:24:05

xinomilo
Member
Registered: 2017-07-02
Posts: 282  

Re: APT want to autoremove too much package..

`apt remove --purge` is the same as `apt purge`.
---

if you're not purging (cancelling request or whatever) then what are you doing? you need to post full commands and output. if you already reinstalled at some point, it's not mentioned in your steps in original post..
if you're purging slim, you should only have one choice (lightdm). if you see both slim+lightdm, then `purge slim` didn't work/failed (or there is a bug indeed)... so we'll need the full steps/output to debug.

2c.

Offline

Board footer