Subject: pkg/6937: pkg_add still doesn't like symbolic links very much
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rh@idle.trapdoor.vip.at>
List: netbsd-bugs
Date: 02/03/1999 21:42:39
>Number: 6937
>Category: pkg
>Synopsis: pkg_add still doesn't like symbolic links very much
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 3 12:50:01 1999
>Last-Modified:
>Originator: Rene Hexel
>Organization:
>Release: 1.3.3
>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.
>Audit-Trail:
>Unformatted: