|
Home > Archive > Linux Debian support > February 2005 > How to find installed packages that nothing depends on?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to find installed packages that nothing depends on?
|
|
| Brady Montz 2005-02-23, 5:49 pm |
| 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?
Thanks.
--
Brady Montz
bradym@balestra.org
| |
| Andreas Janssen 2005-02-23, 5:49 pm |
| Hello
Brady Montz (<bradym@balestra.org> ) 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?
deborphan, debfoster
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
| |
| Luis Lima 2005-02-24, 5: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
| |
| Brady Montz 2005-02-24, 5:45 pm |
| Andreas Janssen <andreas.janssen@bigfoot.com> writes:
> Hello
>
> Brady Montz (<bradym@balestra.org> ) wrote:
>
>
> deborphan, debfoster
>
> best regards
> Andreas Janssen
Excellent! Thanks.
--
Brady Montz
bradym@balestra.org
|
|
|
|
|