NetBSD Problem Report #6937

Received: (qmail 2594 invoked from network); 3 Feb 1999 20:43:10 -0000
Message-Id: <199902032042.VAA25655@idle.trapdoor.vip.at>
Date: Wed, 3 Feb 1999 21:42:39 +0100 (CET)
From: rh@idle.trapdoor.vip.at
Reply-To: rh@vip.at
To: gnats-bugs@gnats.netbsd.org
Subject: pkg_add still doesn't like symbolic links very much
X-Send-Pr-Version: 3.95

>Number:         6937
>Category:       pkg
>Synopsis:       pkg_add still doesn't like symbolic links very much
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 03 12:50:01 +0000 1999
>Closed-Date:    Tue Jul 20 01:38:13 +0000 1999
>Last-Modified:  Tue Jul 20 01:38:27 +0000 1999
>Originator:     Rene Hexel
>Release:        1.3.3
>Organization:

>Environment:

System: NetBSD idle 1.3.3 NetBSD 1.3.3 (IDLE) #77: Wed Jan 6 16:49:39 CET 1999 rh@idle:/usr/local/sys/src/sys/arch/i386/compile/IDLE i386


>Description:
	pkg_add does not recognize symbolic links within ${PREFIX}.
If a mandatory subdirectory (e.g. "man") is a symbolic link to a
directory located somewhere else, pkg_add tries to create the
corresponding directory (and fails).

	This is not a fatal error as it doesn't prevent pkg_add from 
actually installing the package, but it creates tons of error messages.


>How-To-Repeat:
	# cd /usr/pkg
	# mv man <somewhere_else>
	# ln -s <somewhere_else>/man .
	# pkg_add <some_package>
	missing: ./man (not created: File exists)
	missing: ./man/cat1 (not created: File exists)
	missing: ./man/cat2 (not created: File exists)
	missing: ./man/cat3 (not created: File exists)
	missing: ./man/cat4 (not created: File exists)
	missing: ./man/cat5 (not created: File exists)
	missing: ./man/cat6 (not created: File exists)
	missing: ./man/cat7 (not created: File exists)
	missing: ./man/cat8 (not created: File exists)
	missing: ./man/cat9 (not created: File exists)
	...

>Fix:
	Don't know, sorry.
>Release-Note:
>Audit-Trail:

From: matthew green <mrg@eterna.com.au>
To: rh@vip.at
Cc: gnats-bugs@gnats.netbsd.org
Subject: re: pkg/6937: pkg_add still doesn't like symbolic links very much 
Date: Thu, 04 Feb 1999 16:04:41 +1100

 this is a bug/feature of mtree, as you get the same problem if you
 symlink any part of the normal system and run 'make distrib-dirs'.

From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
To: rh@vip.at
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/6937: pkg_add still doesn't like symbolic links very much
Date: Thu, 4 Feb 1999 15:52:17 +0100 (MET)

 On Wed, 3 Feb 1999 rh@idle.trapdoor.vip.at wrote:
 > 	# pkg_add <some_package>
 > 	missing: ./man (not created: File exists)
 > 	missing: ./man/cat1 (not created: File exists)
 > 	missing: ./man/cat2 (not created: File exists)
 > 	missing: ./man/cat3 (not created: File exists)
 > 	missing: ./man/cat4 (not created: File exists)
 > 	missing: ./man/cat5 (not created: File exists)
 > 	missing: ./man/cat6 (not created: File exists)
 > 	missing: ./man/cat7 (not created: File exists)
 > 	missing: ./man/cat8 (not created: File exists)
 > 	missing: ./man/cat9 (not created: File exists)
 > 	...

 This sounds very much like a mtree problem, not one of pkg_add.


  - Hubert

 -- 
 Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>

Responsible-Changed-From-To: gnats-admin->pkg-manager 
Responsible-Changed-By: fair 
Responsible-Changed-When: Mon Apr 19 15:06:24 PDT 1999 
Responsible-Changed-Why:  
This PR is the responsibility of the NetBSD Package System Manager, 
not the GNATS database administrator. 
State-Changed-From-To: open->closed 
State-Changed-By: hubertf 
State-Changed-When: Mon Jul 19 18:38:13 PDT 1999 
State-Changed-Why:  
1), not pkg_add(1). 


- Hubert 
>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.