Subject: bin/25311: Updating NetBSD via build.sh doesn't remove old files
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <juan@xtraeme.unixbsd.org>
List: netbsd-bugs
Date: 04/25/2004 14:52:31
>Number: 25311
>Category: bin
>Synopsis: Updating NetBSD via build.sh doesn't remove old files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 25 12:52:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Juan RP
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD Mandylion 2.0_BETA NetBSD 2.0_BETA (Mandylion) #8: Tue Apr 20 20:57:35 CEST 2004 juan@Mandylion:/home/juan/httpd/nbsd/obj/sys/arch/i386/compile/Mandylion i386
Architecture: i386
Machine: i386
>Description:
Updating NetBSD via build.sh doesn't remove old files or unused
files, postinstall should be improved to remove those files,
because when you have updated your system several times, you
could see a bunch of unused libraries and so on, e.g:
[juan@Nocturno][~]> ls -l /lib/libc.*
lrwxr-xr-x 1 root wheel 14 Apr 23 15:41 /lib/libc.so -> libc.so.12.116
lrwxr-xr-x 1 root wheel 14 Apr 23 15:41 /lib/libc.so.12 -> libc.so.12.116
-r--r--r-- 1 root wheel 789812 Feb 21 00:29 /lib/libc.so.12.111
-r--r--r-- 1 root wheel 737487 Mar 4 09:14 /lib/libc.so.12.112
-r--r--r-- 1 root wheel 737578 Mar 20 13:41 /lib/libc.so.12.113
-r--r--r-- 1 root wheel 800638 Apr 23 11:52 /lib/libc.so.12.114
-r--r--r-- 1 root wheel 854710 Apr 23 15:41 /lib/libc.so.12.116
[juan@Nocturno][~]>
>How-To-Repeat:
Install NetBSD, any version, upgrade your system for 2 years, you'll
get 20M of unused libraries, symlinks, etc.
>Fix:
No idea, sorry.
>Release-Note:
>Audit-Trail:
>Unformatted: