You are not logged in.
Hi,
on another VM I did a apt purge slim
and it just removed slim.
now when I try the same command on another vm I got
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
libck-connector0
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
liblightdm-gobject-1-0 lightdm lightdm-gtk-greeter task-desktop
task-xfce-desktop tasksel tasksel-data
Suggested packages:
accountsservice xserver-xephyr
Recommended packages:
gnome-themes-extra cups
The following packages will be REMOVED:
slim*
The following NEW packages will be installed:
liblightdm-gobject-1-0 lightdm lightdm-gtk-greeter
The following packages will be upgraded:
task-desktop task-xfce-desktop tasksel tasksel-data
4 upgraded, 3 newly installed, 1 to remove and 143 not upgraded.
Need to get 463 kB of archives.
After this operation, 1,017 kB of additional disk space will be used.
Do you want to continue? [Y/n]
So weird that it will force install
liblightdm-gobject-1-0 lightdm lightdm-gtk-greeter task-desktop task-xfce-desktop tasksel tasksel-data
is this necessary to get rid of slim ?????
I've tried apt --no-install-recommends purge slim but that do not work either...
Linux noob, plz be kind
Offline
Linux noob, plz be kind
Offline
Maybe, install xinit/startx (can't remember exact package name), then purge slim - the package manager knows that you have X installed & is trying to be 'helpful' by not breaking it, I expect.
Offline
Thank you @Camtaf,
apt...
... is trying to be 'helpful' by not breaking it, I expect.
But I don't think that menu as been generated by apt it self right ?
So from where come this menu (screenshot) ? and why ? and why not have the possibility (like before) to not have any GUI Login manager ?
Last edited by SpongeBOB (2022-06-25 07:56:49)
Linux noob, plz be kind
Offline
what's weird too is that if I select
slim on this menu
it's anyway installing lightdm
$ cat /etc/X11/default-display-manager
/usr/sbin/lightdm
??
Linux noob, plz be kind
Offline
is this necessary to get rid of slim ?
There is a metapackage installed that has x-display-manager listed as a (virtual) dependency. If slim is removed lightdm is needed to satisfy the dependency.
If you prefer (for example) GDM instead use
# apt install slim- gdm3
But you don't need to remove slim at all — just disable it:
# update-rc.d slim disable
This will have to be repeated if the slim package is updated.
To actually remove slim see https://forums.debian.net//viewtopic.php?f=16&t=104157, which explains how to deal with the metapackage problem.
Last edited by Head_on_a_Stick (2022-06-25 08:02:35)
Brianna Ghey — Rest In Power
Offline
Thank you @Head_on_a_Stick,
# update-rc.d slim disable
work perfectly ! Thanks.
Talking about metapackage I've seen a bug (when apt want to remove a lot of package for no reason) I will try to reproduce and open another topic.
Last edited by SpongeBOB (2022-06-26 10:05:50)
Linux noob, plz be kind
Offline