Apr
15
Debian: remove unused packages
April 15, 2009 | 1 Comment
Two days ago, I ran into a strange problem with my email server which refused to send any more emails. It turned out my hard drive was full… I started by emptying the tmp directory and running aptitude clean and aptitude autoclean but that wasn’t enough to free enough space to allow me to breathe for long. Some Googling lead me to deborphan, a package that will list packages installed because they were once a dependancy but that are now useless to the system. Those packages identified, I just had to remove them all.
A few commands to do the same thing:
1 | aptitude install deborphan |
1 | deborphan |
1 |
1 | aptitude purge <packages listed by deborphan> |
Now my server can breathe and so can I.
Comments
1 Comment so far
Debian: remove unused packages http://tinyurl.com/dhpomg