I get aptitude to resolve recommended upgrades just by using the -r switch on the command line. There's probably a way to do that using g.u.i. but don't know that one yet.

On Sat, 31 Oct 2015, Stephen Powell wrote:

Date: Sat, 31 Oct 2015 10:29:48
From: Stephen Powell <zlinux...@wowway.com>
To: debian-user@lists.debian.org
Subject: How to identify obsolete packages (was: Anybody know why aptitude is
    not installed by default in Sid?)
Resent-Date: Sat, 31 Oct 2015 14:30:06 +0000 (UTC)
Resent-From: debian-user@lists.debian.org

On Sat, 31 Oct 2015 07:38:25 -0400 (EDT), Chris Bannister wrote:

Oh great! They've fixed it. I hated having to "dpkg --purge aptitude"
after a new installation. If you want extra packages, it's just an
apt-get install <package> step away.

I used to use aptitude; but I've switched back to using apt, mainly
because apt-get resolves "Recommends" dependencies during an upgrade
while aptitude does not.  But there is one thing that I like about
aptitude that, if I could get equivalent functionality out of apt,
I might not bother to install aptitude.

aptitude, when run with no parameters, provides a full-screen interface.
This full-screen interface lists package categories which can be
expanded.  One category in particular is of interest to me:
"Obsolete and Locally Created Packages".  By expanding this category,
I can identify obsolete packages.  (An obsolete package, by definition,
is an installed package which no longer exists in the Debian archive.)
99% of the time, an obsolete package is one that I wish to purge.
I've seen cases where packages are held back during
"apt-get --purge dist-upgrade" processing until these obsolete packages
are purged.  But I have not found a way to easily identify obsolete
packages using apt.  There is an "autoremove" option on apt-get to
remove packages which were automatically installed but which are no
longer required by any installed package.  But that is different.
That's not the same thing as an obsolete package.  An obsolete package
may have been manually installed, but it's still obsolete, and I
need to be able to identify it as such.

Does anyone know an easy way to identify obsolete packages without
using aptitide?



--

Reply via email to