After running GtkOrphan it provides a list of 8 packages suggested for removal.
Are there likely to be any undesirable consequences in removing any of these using the tools provided within the utility?
Output from running dpkg -l | grep ^rc
:
rc linux-image-4.18.0-15-generic 4.18.0-15.16~18.04.1 amd64 Signed kernel image generic
rc linux-modules-4.18.0-15-generic 4.18.0-15.16~18.04.1 amd64 Linux kernel extra modules for version 4.18.0 on 64 bit x86 SMP
rc linux-modules-extra-4.18.0-15-generic 4.18.0-15.16~18.04.1 amd64 Linux kernel extra modules for version 4.18.0 on 64 bit x86 SMP
Running aptitude
from the terminal with no parameters produces:
I have just tested GtkOrphan on my system. And it seems that GtkOrphan is dumber than
apt-get autoremove -s
oraptitude search '?obsolete'
(see help page for full syntax)On my system I see that only 1 package out of 18 is correctly marked as orphan by GtkOrphan.
As far I can understand the real obsolete or locally installed package do not have any http/https/ftp link in
apt-cache policy ...
output. It should have only/var/lib/dpkg/status
in the version table.So we can filter output of
deborphan
by using some scripting (modified version of this one):or do not use GtkOrphan at all and rely on Aptitude with its Obsolete and Locally Created Packages
or
aptitude search '?obsolete'
:The related bug may be the following - bug 1820906.