pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42731: "PKG_PREFIX" not set during de-installation of a package



>Number:         42731
>Category:       pkg
>Synopsis:       "PKG_PREFIX" not set during de-installation of a package
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 03 13:45:00 +0000 2010
>Originator:     Matthias Scheler
>Release:        NetBSD 5.0_STABLE
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 5.0_STABLE NetBSD 5.0_STABLE (COLWYN.64) 
#0: Mon Jan 25 15:37:55 GMT 2010 
tron%colwyn.zhadum.org.uk@localhost:/src/sys/compile/COLWYN.64 amd64
Architecture: x86_64
Machine: amd64
>Description:
The documentation of "pkg_delete" says that the environment variable
"PKG_PREFIX" will be set while the de-installation scripts gets run.
This is however not true. As a result you get error messages like
this while de-installion "p5-*" packages:

usage: /usr/pkg/lib/perl5/bin/perllink [-fnv] [-p prefix] add|delete [packlist 
...]

This problem is present in both pkg_install 20091008 and 20100130.

>How-To-Repeat:
pkg_delete p5-Net-SSLeay

>Fix:
I worked arround this problem for "p5" packages. It should however be
solved in "pkg_install".




Home | Main Index | Thread Index | Old Index