How older files installed by previous versions of FreeBSD are supposed to be deleted?

Herbert J. Skuhra hskuhra at fastmail.fm
Sun Feb 20 09:06:45 UTC 2011


On Sun, 20 Feb 2011 00:05:00 -0800 Yuri <yuri at 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



More information about the freebsd-questions mailing list