Subject: pkg/17427: Packages replace installed base components
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 06/28/2002 13:39:27
>Synopsis: Packages replace installed base components
>Arrival-Date: Fri Jun 28 11:42:00 PDT 2002
>Originator: Dave Burgess
>Release: NetBSD 1.6_BETA1
System: NetBSD www.cynjut.net 1.6_BETA1 NetBSD 1.6_BETA1 (GENERIC) #0: Fri May 31 03:54:41 UTC 2002 email@example.com:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC 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.