Subject: Re: various unowned KDE directories
To: None <firstname.lastname@example.org>
From: Jeremy C. Reed <email@example.com>
Date: 05/06/2005 07:49:26
Anyone seeing pkg_delete not run +DEINSTALL? (I have more comments below.)
On Fri, 6 May 2005, Mark Davies wrote:
> > I removed kdebase3 and kdelibs3 packages from my system but had several
> > directories left over that don't appear to be owned by any package. (No
> > other KDE installed.)
> > Such as:
> > /usr/pkg/share/doc/kde
> All those directories you listed are already in kdelibs3/dirs.mk so if they
> aren't being cleaned up for you there must be something wrong with how
> MAKE_DIRS is being handled on your system.
Okay, I rebuilt and reinstalled kdelibs3 and then did a pkg_delete and the
directories were not removed. And I installed and deinstalled using -v to
look at verbose details.
The pkg_add showed that it ran the scripts:
Running install with PRE-INSTALL for kdelibs-3.4.0nb4.
Running install with POST-INSTALL for kdelibs-3.4.0nb4.
And I saw the "Installing files needed by kdelibs-3.4.0nb4" message so I
know the +INSTALL script was used.
But the pkg_delete only showed the "Delete directory" for the @dirrm
listed in x11/kdelibs3/PLIST. And it never showed the +DEINSTALL message
about applications.menu (the CONF_FILES).
I don't think it is a kdelibs3 problem. But maybe a problem with
This is FreeBSD 5.3-RELEASE. pkg_delete is from bootstrapping on March 8.
> ident /usr/pkg/sbin/pkg_delete
$FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.6 2002/05/15 04:19:49 obrien Exp $
$FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.5 2002/05/15 04:19:49 obrien Exp $
$FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4 2003/10/17 15:43:13 peter Exp $
$FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.13 2004/08/15 16:18:51 dfr Exp $
$NetBSD: main.c,v 1.15 2004/11/03 14:03:53 wiz Exp $
$NetBSD: perform.c,v 1.14 2005/02/04 09:10:13 jlam Exp $
$NetBSD: fexec.c,v 1.5 2003/10/29 23:00:28 jlam Exp $
$NetBSD: file.c,v 1.14 2005/02/04 09:10:13 jlam Exp $
$NetBSD: ftpio.c,v 1.66 2005/01/06 11:56:39 agc Exp $
$NetBSD: global.c,v 1.4 2003/09/23 07:13:53 grant Exp $
$NetBSD: path.c,v 1.7 2004/12/29 11:35:03 agc Exp $
$NetBSD: pen.c,v 1.17 2005/02/20 09:17:25 grant Exp $
$NetBSD: pkgdb.c,v 1.24 2005/02/05 00:28:58 jlam Exp $
$NetBSD: plist.c,v 1.47 2005/01/06 11:59:35 agc Exp $
$NetBSD: str.c,v 1.50 2004/12/29 11:35:04 agc Exp $
$NetBSD: version.c,v 1.4 2003/09/23 07:13:54 grant Exp $
Jeremy C. Reed
open source, Unix, *BSD, Linux training