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
Matthias Scheler                        
System: NetBSD 5.0_STABLE NetBSD 5.0_STABLE (COLWYN.64) 
#0: Mon Jan 25 15:37:55 GMT 2010 amd64
Architecture: x86_64
Machine: amd64
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.

pkg_delete p5-Net-SSLeay

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

Home | Main Index | Thread Index | Old Index