Subject: pkg/17427: Packages replace installed base components
To: None <gnats-bugs@gnats.netbsd.org>
From: None <burgess@cynjut.net>
List: netbsd-bugs
Date: 06/28/2002 13:39:27
>Number:         17427
>Category:       pkg
>Synopsis:       Packages replace installed base components
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 28 11:42:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dave Burgess
>Release:        NetBSD 1.6_BETA1
>Organization:
Nebraska On-Ramp
>Environment:
	
	
System: NetBSD www.cynjut.net 1.6_BETA1 NetBSD 1.6_BETA1 (GENERIC) #0: Fri May 31 03:54:41 UTC 2002 autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	Whenever I install a package from the pkgsrc system that replaces a 'NetBSD installed'
	component, I end up having to go through the system and replace the 'old' versions of the
	executable and library files to get the system to work reliably.  This is particularly
	true with named9 and sendmail, although I've recently been bitten by the OpenSSL that 
	gets installed by ap-ssl.
>How-To-Repeat:
	Install named9, sendmail, libz, openssl, or any other package that updates some part
	of the system that is already installed.  In named9, for example, if the old makemap
	utility isn't removed, the old makemap will be used to create the databases for sendmail.
>Fix:
	The canonical fix would be to have the packages install their system components over the
	ones installed by the system.  The next best choice would be to continue to install them
	in /usr/pkg, but have the install routine either 'rm' or 'mv' the files to something 
	else to avoid name clashes.
>Release-Note:
>Audit-Trail:
>Unformatted: