Subject: pkg/6840: postgresql package doesn't delete cleanly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <woods@proven.weird.com>
List: netbsd-bugs
Date: 01/18/1999 14:50:24
>Number:         6840
>Category:       pkg
>Synopsis:       postgresql package doesn't delete cleanly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 18 12:05:00 1999
>Last-Modified:
>Originator:     Greg A. Woods
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Release:        NetBSD-current pkgsrc (sup'ed Jan 18, 1999)
>Environment:

System: NetBSD proven 1.3I NetBSD 1.3I (GENERIC) #1: Thu Dec 3 16:23:20 EST 1998 root@woffi.planix.com:/local1/netbsd/netbsd-current/src/sys/arch/i386/compile/GENERIC i386

>Description:

	the postgresql-6.4.2 package does not delete cleanly

>How-To-Repeat:

	by observation:

	14:40 [2343] # pkg_delete postgresql-6.4.2
	pkg_delete: file `/usr/pkg/pgsql/lib/pltcl.so' doesn't really exist
	ldconfig: /usr/pkg/pgsql/lib: No such file or directory
	pkg_delete: unexec command for `/sbin/ldconfig' failed
	pkg_delete: couldn't entirely delete package (perhaps the packing list is
	incorrectly specified?)

>Fix:

	ignore the error from ldconfig (and perhaps even send it to
	/dev/null)

	do something in the delete script to remind the user to clean up
	/etc/ld.so.conf
>Audit-Trail:
>Unformatted: