[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Remove unnecessary libs



On Fri, Aug 17, 2001 at 04:01:05PM +0200, Marcus wrote:
> Hi, During time you install and remove things on your computer and thus 
> (when uninstalling a program) leaving libs behind that the program 
> depends on.
> However, now, when the program to which the libs was necessary to is 
> gone they are ofcouse no longer needed and only takes up diskspace.
> Now, is there a easy way to seach out these libs and purge them with 
> dpkg? If not, wouldn't this be a nice feature you think?
> Or is there another easy way to resolve the problem in hand?

apt-get install deborphan 

deborphan will (by default) list out libs that are not used by any
installed packages - "orphaned" libraries.

Having dpkg remove orphaned libraries by default is probably *not*
desirable - only the administrator knows whether he's going to
re-install package X in 5 minutes time. And he wouldn't be too please by
having to re-download the library that just dissapeared...

Just my 2 øre..

> -- 
> 
> 			/*
> 			   talos / AINT
> 			   www:   http://www.aint.nu
> 			   email: talos@algonet.se
> 			*/
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
Karl E. Jørgensen
karl@jorgensen.com
www.karl.jorgensen.com
==== Today's fortune:
"Who is General Failure and why is he reading my hard disk ?"
Microsoft spel chekar vor sail, worgs grate !!
(By leitner@inf.fu-berlin.de, Felix von Leitner)

Attachment: pgpmtAnyiWY1n.pgp
Description: PGP signature


Reply to: