Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2011 10:06:43 +0100
From:      "Herbert J. Skuhra" <hskuhra@fastmail.fm>
To:        freebsd-questions@freebsd.org
Subject:   Re: How older files installed by previous versions of FreeBSD are supposed to be deleted?
Message-ID:  <87r5b3rs64.wl%hskuhra@fastmail.fm>
In-Reply-To: <4D60CB2C.8080402@rawbw.com>
References:  <4D60CB2C.8080402@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 20 Feb 2011 00:05:00 -0800 Yuri <yuri@rawbw.com> wrote:

> I updated my system many times.
> As a result I have many older libraries with different numbers:
> /lib/libm.so.4
> /lib/libm.so.5
> 
> /lib/libutil.so.5
> /lib/libutil.so.7
> /lib/libutil.so.8
> /lib/libutil.so.9
> 
> /lib/libc.so.6
> /lib/libc.so.7
> 
> How older files are normally deleted? Is there a script that finds older 
> versions and deletes them? Otherwise after a while all possible versions 
> will accumulate there.

# cd /usr/src
# make delete-old
# make delete-old-libs

Afterwards you probably have to rebuild many installed ports. 

> I suspect the same happens under /etc with various renamed/deleted files.

% man mergemaster




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87r5b3rs64.wl%hskuhra>