Subject: pkg/17427: Packages replace installed base components
To: None <>
From: None <>
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
>Originator:     Dave Burgess
>Release:        NetBSD 1.6_BETA1
Nebraska On-Ramp
System: NetBSD 1.6_BETA1 NetBSD 1.6_BETA1 (GENERIC) #0: Fri May 31 03:54:41 UTC 2002 i386
Architecture: i386
Machine: i386
	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.
	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.
	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.