On Sat, Dec 18, 2004 at 12:17:51PM +0200, Kfir Lavi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> I'm running debian sarge. 
> I have installed some packages in the past, and i want to uninstall them.
> Every package usualy install some dependencies packages.
> what i want is a tool to check this dependencies and remove the packages that 
> no package needs them.
> I know there is something like this in debian, but i can't find it.

For starters you'll have to install yet another package. But it is not
so big, so it is worth it.

  apt-get install deborphan

Now examine orphan packages:

  deborphan

man deborphan for more aggressive options.

to remove all the packages:

  deborphan | xargs apt-get remove -y

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to