LWN.net Logo

A way to suggest unused packages to remove

A way to suggest unused packages to remove

Posted Jan 3, 2007 5:06 UTC (Wed) by midg3t (subscriber, #30998)
In reply to: Missing the point in package removal by ayeomans
Parent article: Predictions for 2007 (and how I did on 2006) (LinuxWorld)

You could build a tool to give you that information based on Debian's popularity-contest package, and the existing package priorities. Use the popularity-contest log file to determine which packages were not used, and suggest removal of all those with priority "optional" and "extra".


(Log in to post comments)

A way to suggest unused packages to remove

Posted Jan 3, 2007 5:36 UTC (Wed) by midg3t (subscriber, #30998) [Link]

Here's the really quick version:

grep '<OLD>' /var/log/popularity-contest | grep -v ' lib' | cut -d' ' -f3

Adjust to your desire.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.