Subject: perl dependancies, deinstall fails
To: None <>
From: Grant Beattie <>
List: tech-pkg
Date: 10/15/2001 12:52:38
I have removed perl modules, p5* from /var/db/pkg, perl itself,
rebuilt pkg db with `pkg_admin rebuild' and this still occurs.

# cd net/p5-Net-Jabber
# make install
# pkg_info | grep p5
p5-XML-Stream-1.11  perl module for access to XML streams over a connection
p5-Digest-SHA1-2.00 perl5 module for SHA1
p5-Net-Jabber-1.0021 perl module for the Jabber chat protocol
# make deinstall
# cd ../../textproc/p5-XML-Stream
# make deinstall
===> Deinstalling for p5-XML-Stream-1.11
Running PKG_DBDIR=/var/db/pkg /usr/sbin/pkg_delete p5-XML-Stream-1.11
pkg_delete: package `p5-XML-Stream-1.11' is required by other packages:
pkg_delete: unable to change directory to /var/db/pkg/p5-Net-Jabber-1.0021! deinstall failed

Looks like the pkg db is still confused, is there something really
obvious I'm missing?