Uninstalling a package removes other essential packages: What is the best course of action?
I did a minimal install of LXQt:
sudo apt install lxqt-core lightdm
and discovered that the following two packages were installed as well:
libthai-data/stable,now 0.1.28-3 all [installed,automatic]
libthai0/stable,now 0.1.28-3 amd64 [installed,automatic]
*I do not speak or write Thai*
When I did the following
sudo apt remove libthai*
I was very surprised to see that many packages that I think are essential to running Debian properly would be removed if I answered "Yes" to the question "Do you want to continue?"
What should I do? What is the best course of action?
Below is the output of sudo apt remove libthai*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libthai0' for glob 'libthai*'
Note, selecting 'libthai-data' for glob 'libthai*'
Note, selecting 'libthai-dev' for glob 'libthai*'
Note, selecting 'libthai-doc' for glob 'libthai*'
Package 'libthai-dev' is not installed, so not removed
Package 'libthai-doc' is not installed, so not removed
The following packages were automatically installed and are no longer required:
adwaita-icon-theme at-spi2-core cpp cpp-10 cups-pk-helper fonts-quicksand
gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0
gir1.2-harfbuzz-0.0 gir1.2-notify-0.7 gir1.2-packagekitglib-1.0
gir1.2-polkit-1.0 gir1.2-secret-1 gnome-accessibility-themes
gnome-keyring-pkcs11 gnome-themes-extra gnome-themes-extra-data
gparted-common gsfonts gsfonts-x11 gtk2-engines-pixbuf i965-va-driver
intel-media-va-driver libaom0 libappstream4 libass9 libatk-bridge2.0-0
libatk1.0-0 libatk1.0-data libatkmm-1.6-1v5 libatspi2.0-0 libavutil56
libblas3 libbs2b0 libcairo-gobject2 libcairo2 libcairomm-1.0-1v5
libcodec2-0.9 libcolord2 libcurl3-gnutls libdatrie1 libdav1d4 libepoxy0
libfftw3-double3 libflite1 libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0
libgfortran5 libgirepository-1.0-1 libglibmm-2.4-1v5 libgme0 libgomp1
libgsm1 libgstreamer1.0-0 libgtk-3-common libgtk2.0-common libigdgmm11
libisl23 libjpeg-turbo-progs liblapack3 liblightdm-gobject-1-0 liblilv-0-0
libmfx1 libmp3lame0 libmpc3 libmpfr6 libmpg123-0 libmysofa1
libnet-dbus-perl libnorm1 libnotify4 libnuma1 libopenjp2-7 libopenmpt0
libpackagekit-glib2-18 libpam-gnome-keyring libpgm-5.3-0 libpixman-1-0
libplymouth5 libpocketsphinx3 libpostproc55 libquadmath0 librabbitmq4
librest-0.7-0 librubberband2 libsamplerate0 libserd-0-0 libshine3
libsigc++-2.0-0v5 libsnappy1v5 libsord-0-0 libsoup-gnome2.4-1 libsoxr0
libspeex1 libsphinxbase3 libsratom-0-0 libsrt1.4-gnutls libssh-gcrypt-4
libstartup-notification0 libstemmer0d libswresample3 libswscale5 libtheora0
libtie-ixhash-perl libturbojpeg0 libtwolame0 libunwind8 libva-drm2
libva-x11-2 libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvorbisfile3
libvpx6 libwavpack1 libwnck-3-common libx11-protocol-perl libx264-160
libx265-192 libxatracker2 libxfce4ui-common libxfce4util-bin
libxfce4util-common libxfce4util7 libxfconf-0-3 libxfont2 libxklavier16
libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl libxpresent1
libxres1 libxvidcore4 libxvmc1 libyaml-0-2 libzmq5 libzvbi-common libzvbi0
mesa-va-drivers mesa-vdpau-drivers ocl-icd-libopencl1 p11-kit
p11-kit-modules p7zip p7zip-full packagekit packagekit-tools plymouth
pocketsphinx-en-us python3-cairo python3-certifi python3-chardet
python3-cups python3-cupshelpers python3-dbus python3-gi python3-idna
python3-pkg-resources python3-requests python3-smbc python3-urllib3
python3-xdg qt5-style-plugin-cleanlooks qt5-style-plugin-motif
qt5-style-plugin-plastique system-config-printer-udev unzip va-driver-all
vdpau-driver-all x11-xserver-utils xauth xdg-utils xfconf xfonts-base
xfonts-encodings xfonts-utils xscreensaver-data xserver-common xserver-xorg
xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-libinput
xserver-xorg-input-wacom xserver-xorg-legacy xserver-xorg-video-all
xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev
xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-qxl
xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
lxqt-themes
The following packages will be REMOVED:
desktop-base ffmpegthumbnailer galternatives gcr gir1.2-gtk-3.0
gir1.2-pango-1.0 gnome-keyring gpa gparted libavcodec58 libavfilter7
libavformat58 libayatana-ido3-0.4-0 libayatana-indicator3-7 libchromaprint1
libffmpegthumbnailer4v5 libgail-common libgail18 libgcr-ui-3-1 libgtk-3-0
libgtk-3-bin libgtk2.0-0 libgtk2.0-bin libgtkmm-3.0-1v5 libpango-1.0-0
libpangocairo-1.0-0 libpangoft2-1.0-0 libpangomm-1.4-1v5 libpangoxft-1.0-0
librsvg2-2 librsvg2-common libthai-data libthai0 libwnck-3-0 libxfce4ui-2-0
lightdm lightdm-gtk-greeter lxqt-branding-debian lxqt-theme-debian
pinentry-gnome3 plymouth-label qt5-gtk-platformtheme qt5-gtk2-platformtheme
qt5-style-plugins system-config-printer system-config-printer-common
xarchiver xfwm4 xfwm4-theme-breeze xscreensaver
The following NEW packages will be installed:
lxqt-themes
0 upgraded, 1 newly installed, 50 to remove and 0 not upgraded.
Need to get 3,178 kB of archives.
After this operation, 97.5 MB disk space will be freed.
Do you want to continue? [Y/n]
Reply to: