How to find installed packages that nothing depends on?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > How to find installed packages that nothing depends on?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How to find installed packages that nothing depends on?  
Brady Montz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-23-05 10: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





[ Post a follow-up to this message ]



    Re: How to find installed packages that nothing depends on?  
Andreas Janssen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-23-05 10: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





[ Post a follow-up to this message ]



    Re: How to find installed packages that nothing depends on?  
Luis Lima


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: How to find installed packages that nothing depends on?  
Brady Montz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-24-05 10: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:42 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register