NetBSD Problem Report #17427

Received: (qmail 8656 invoked by uid 605); 28 Jun 2002 18:41:17 -0000
Message-Id: <200206281839.g5SIdR5X024337@www.cynjut.net>
Date: Fri, 28 Jun 2002 13:39:27 -0500 (CDT)
From: burgess@cynjut.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: burgess@cynjut.net
To: gnats-bugs@gnats.netbsd.org
Subject: Packages replace installed base components
X-Send-Pr-Version: 3.95

>Number:         17427
>Category:       pkg
>Synopsis:       Packages replace installed base components
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 28 18:42:00 +0000 2002
>Closed-Date:    Fri Jul 19 13:59:05 +0000 2002
>Last-Modified:  Fri Jul 19 13:59:05 +0000 2002
>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:
State-Changed-From-To: open->closed 
State-Changed-By: tron 
State-Changed-When: Fri Jul 19 06:58:30 PDT 2002 
State-Changed-Why:  
Packages should *hot* harm the base system in the way you suggest. Set your 
command search path to include "/usr/pkg/bin" and "/usr/pkg/bin" (for 
"root" only) and everything will work fine. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.