# apt purge libsepol1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gsettings-desktop-schemas : Depends: dconf-gsettings-backend but it is not going to be installed or
gsettings-backend
libgtk-3-common : Depends: dconf-gsettings-backend but it is not going to be installed or
gsettings-backend
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
I looked a bit into gsettings, and trying to remove gsettings-desktop-schemas or libgtk-3-common results in similar situation libselinux1 removal does, except they prompt less packages to be removed and offer these packages to be installed:
libproxy-tools libreoffice-avmedia-backend-vlc libutempter0 libvlc-bin libvlc5 libvlccore9 xterm
Needless to say, packages prompted to be removed are quite important to a functioning system, such as xinit and xorg.
I did a bit of more digging and thought this may have to do with dbus and I attempted to remove dbus, but following happens:
# apt purge dbus
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
glib-networking : Depends: gsettings-desktop-schemas but it is not going to be installed
libgtk-3-common : Depends: dconf-gsettings-backend but it is not going to be installed or
gsettings-backend
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
I did dpkg --configure -a but there was no output.
Happened on fully updated beowulf to which I recently migrated from debian buster
Edit: grammar
Edit 2: I have installed gconf-gsettings-backend which enabled me to remove dbus (and stuff that depends on it, including dconf packages). Using aptitude I saw that a lot of important packages depend on libselinux1 and libsepol1, so they're staying. BUT, attempting to purge libselinux1 with apt gives some dependency issues with adduser, dconf-service and libglib2.0-0. Trying to purge libsepol1 prompts the removal of 65 packages (including apt). apt -f install and dpkg --configure -a report not packages. So, I guess it is solved
]]>