02-24-05 10:45 PM
On Wed, 23 Feb 2005, Brady Montz wrote:
> Given a debian machine, with various debian packages installed by
> apt-get, I want to be able to get the list of all installed packages
> that are depended on by nothing. If I could easily get that list, then
> it would be straightforward to see which, if any, of these leaf
> packages I can delete to free up some space.
>
> Is there something which does this or something close?
#apt-get -y install deborphan
#deborphan <Enter>
It will give a list of 'orphaned libraries' which you can delete .
Then get rid of them:
#deborphan | xargs dpkg --purge
#apt-get clean
another good package is 'debfoster', it will ask you if you wnat to
'keep <name of package>', you can answer Y or N or P (prune), if you
make a mistake, type U, it will ask you again.
regards
[ Post a follow-up to this message ]
|