Subject: Re: Cleaning a system after upgrade
To: Eric Jacoboni <jaco@teaser.fr>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 10/01/2001 22:12:23
On Mon, Oct 01, 2001 at 01:10:09AM +0200, Eric Jacoboni wrote:
> Starting from a 1.5.2 system, i've upgraded to -current. So far, so
> good.
> 
> But i've noticed that a 'ls -lt' in /usr/lib show me a lot of 'old'
>  shared libs and links to them (the problem doesn't appear in /bin,
>  /sbin, /usr/sbin /usr/libexec and /usr/bin as new versions of the
>  programs has the same names of previous one, hence overwriting
>  them). And i don't like obsolete files on my system...
> 
> If i make build today, Sep 30, could i delete the older libs in
> /usr/lib (i never put anything in this directory and i guess that
> packages don't either...).

You can delete older libs with the same major number as the current one.
However if you have older libs with lower major number you have to keep
them, for binary compat.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--