pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50223: misc/libreoffice leaves files around after pkg_delete



>Number:         50223
>Category:       pkg
>Synopsis:       misc/libreoffice leaves files around after pkg_delete
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 09 23:10:06 +0000 2015
>Originator:     paul%whooppee.com@localhost
>Release:        NetBSD 7.99.21
>Organization:
+------------------+--------------------------+-------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
+------------------+--------------------------+-------------------------+
>Environment:
	
	
System: NetBSD pokey.whooppee.com 7.99.21 NetBSD 7.99.21 (POKEY 2015-08-23 23:01:08) #0: Mon Aug 24 16:17:24 PHT 2015 paul%pokey.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/POKEY amd64
Architecture: x86_64
Machine: amd64
>Description:
	The libreoffice package does not clean up completely during a
	pkg_delete.  The contents of $PKGDIR/libreoffice-$VERSION are
	not deleted, and thus the directory itself is not deleted.

	If the directory is empty, then it is deleted properly.
	
>How-To-Repeat:
	* install libreoffice
	* use libreoffice to do something, which causes the named
	  directory to be populated
	* pkg_delete libreoffice
	
>Fix:
	Per Email thread on pkgsrc-users, perhaps the contents of this
	directory should be created and installed as part of the package
	installation itself?  At least then the files would be listed in
	the PLIST, and would be properly removed during pkg_delete.

	At the very least, if the directory cannot be deleted (due to
	not being empty), pkg_delete should generate a message similar
	to the following
===========================================================================
The following directories are no longer being used by dbus-1.10.0,
and they can be removed if no other packages are using them:

        /var/db/dbus

===========================================================================

	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index