safe to delete /usr/local/lib/compat/pkg libs

Kris Kennaway kris at obsecurity.org
Sat Nov 5 21:32:00 GMT 2005


On Sat, Nov 05, 2005 at 04:26:20PM -0500, Nicolas Blais wrote:
> Hi,
> 
> When I update using portupgrade, sometimes replaced libs are sent 
> to /usr/local/lib/compat/pkg, for backward compatibility I presume. 
> 
> My question is, how do I know if librairies in that folder are safe to delete? 
> I checked today, and there are libs that are 8 months old which I assume 
> aren't used since a newer version exists in /usr/local/lib and I always keep 
> my system up to date, compiling from source.

Install the libchk port, which will tell you.

Of course, you should always make a backup first, just in case.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051105/16860a49/attachment.bin


More information about the freebsd-questions mailing list