Subject: pkg/30347: +DEINSTALL scripts are incomplete
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 05/27/2005 00:59:00
>Number:         30347
>Category:       pkg
>Synopsis:       +DEINSTALL scripts are incomplete
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 27 00:59:00 +0000 2005
>Release:        NetBSD 1.6.2_STABLE
System: NetBSD 1.6.2_STABLE NetBSD 1.6.2_STABLE (MYKERNEL) #1: Tue Jun 1 12:16:43 PDT 2004 i386
Architecture: i386
Machine: i386
This happens on systems where the packages are installed from binary

No messages are displayed when running pkg_delete and no config files,
et cetera are cleaned up.

+DEINSTALL files since early February don't list any filenames to
remove and I don't see code to remove files. (In early February,
many changes were done to the mk/install/ scripts.)

I don't have any +FILES (or related) files. I see that pkg_add'ing
a package runs +INSTALL which generates the +FILES (I think in a
temporary staging directory).

Look at +DEINSTALL for some package that should remove check
and remove configurations.

Maybe pkg_install/files/create/perform.c should also tar up:

Or maybe the +DEINSTALL scripts also generate the needed +DIRS,