APT: pattern matching with aptitude?

Kristian Hermansen kristian.hermansen-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Mon May 21 22:03:29 EDT 2007


I thought I would clean up my installation and remove any unnecessary
packages I might have accrued over time.  popularity-contest does a
nice job of letting me know what has been used recently.  However, I
decided that I would also just purge all the documentation file
packages on my box.  How would I do this?  And does anyone have other
suggestions or warnings?

These fail:
$ sudo aptitude purge -- -doc$
$ sudo aptitude purge -- *-doc$
$ sudo aptitude purge -- ~n-doc$
$ sudo aptitude purge -- ~n-doc
-- 
Kristian Hermansen

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Discuss mailing list