[opensource] Debian/Ubuntu: Clean up junk packages

Paul Betts bettsp at cse.ohio-state.edu
Wed May 30 18:31:41 EDT 2007


Most of these work great, but DONT (or make sure to check) the last one, 
deborphan. When I ran it, it suggested I take out my video codecs. If 
you run deborphan by itself, it'll show the packages it wants to remove. 
You could then use some clever text editing trickery as follows:

sudo deborphan > to_remove.txt
vim to_remove.txt 		# Edit file as appropriate
sudo apt-get -y remove --purge `cat to_remove.txt`

Paul Betts <bettsp at cse.ohio-state.edu>

More information about the Opensource mailing list