[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Aptitude, sort by package state?



* Douglas Allan Tutty <dtutty@porchlight.ca> [2007 Feb 10 07:27 -0600]:
> On Sat, Feb 10, 2007 at 07:07:59AM -0600, Nate Bargmann wrote:
> > After years of updates, package installations and removals, browsing
> > through the Not Installed section of Aptitude reveals a number of
> > packages with a status of 'c' which means a package was simply removed,
> > but its configuration files have been left installed.  I would like to
> > have Aptitude be able to sort by package state so the 'c' packages can
> > be grouped together in the UI for easy purging.
> > 
> > Did I miss something in the manual or do I need to file a Wishlist bug?
> 
> Yes you missed something in the manual [1] :)
> Search Patterns.
> 
> I would suggest you use l to limit the display to ~c
> This will only display the 'c' packages.  You can then hit _ on the
> whole list to tell aptitude to purge them all.

That is exactly what I was looking for!  Is this a record for oldest
package cruft on a system?

communicator-smotif-476
communicator-smotif-477

Now that's getting rather long in the tooth.

I do thank you.  With your assistance I'll be able to understand the
Aptitude manual better.

Thanks.

- Nate >>

-- 
 Wireless | Amateur Radio Station N0NB          |  Successfully Microsoft
  Amateur radio exams; ham radio; Linux info @  | free since January 1998.
             http://www.qsl.net/n0nb/           |  "Debian, the choice of
             My Kawasaki KZ-650 SR @            |     a GNU generation!"
        http://www.networksplus.net/n0nb/       |   http://www.debian.org



Reply to: