pkgsrc-Bugs archive

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

pkg/43945: pkg_add emacs leaves behind a trash file that stops pkg_delete



>Number:         43945
>Category:       pkg
>Synopsis:       pkg_add emacs leaves behind a trash file that stops pkg_delete
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 05 13:05:00 +0000 2010
>Originator:     Rob Quinn
>Release:        Solaris 10 pkgsrc-current
>Organization:
>Environment:
>Description:
I can build/install the emacs22 package on my Solaris machine without problems. 
 But if I remove and then pkg_add the resulting package a temp file is left 
behind in /var/db/pkg/emacs-22.3nb10/ that stops pkg_delete.


>How-To-Repeat:
dodecahedron:/usr/pkgsrc/packages/All #pkg_add emacs
emacs-22.3nb10: /var/games/emacs/snake-scores already exists
emacs-22.3nb10: /var/games/emacs/tetris-scores already exists
emacs-22.3nb10: setting permissions on 
/usr/pkg/libexec/emacs/22.3/sparc-sun-solaris2/update-game-score (o=games, 
g=games, m=2555)
===========================================================================
The following files are used by emacs-22.3nb10 and have
the wrong ownership and/or permissions:

        /var/games/emacs/tetris-scores (m=664, o=games, g=games)
        /var/games/emacs/snake-scores (m=664, o=games, g=games)

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

dodecahedron:/usr/pkgsrc/packages/All #ls -la /var/db/pkg/emacs-22.3nb10/.*
/var/db/pkg/emacs-22.3nb10/.:
total 702
-r--r--r--   1 root     root        4682 Oct  5 08:53 +BUILD_INFO
-r--r--r--   1 root     root        2877 Oct  5 08:53 +BUILD_VERSION
-r--r--r--   1 root     root          28 Oct  5 08:53 +COMMENT
-rw-r--r--   1 root     root      234320 Oct  5 08:53 +CONTENTS
-r-xr-xr-x   1 root     root        4152 Oct  5 08:53 +DEINSTALL*
-r--r--r--   1 root     root         698 Oct  5 08:53 +DESC
-rwxr-xr-x   1 root     root        9172 Oct  5 08:53 +DIRS*
-rwxr-xr-x   1 root     root       11191 Oct  5 08:53 +FILES*
-rwxr-xr-x   1 root     root        3602 Oct  5 08:53 +INFO_FILES*
-r-xr-xr-x   1 root     root       46356 Oct  5 08:53 +INSTALL*
-rwxr-xr-x   1 root     root        1714 Oct  5 08:53 +PERMS*
-r--r--r--   1 root     root          10 Oct  5 08:53 +SIZE_ALL
-r--r--r--   1 root     root          10 Oct  5 08:53 +SIZE_PKG
-rwxr-xr-x   1 root     root       14066 Oct  5 08:53 +USERGROUP*
drwxr-xr-x   3 root     root         512 Oct  5 08:53 ./
drwxr-xr-x  78 root     root        6144 Oct  5 08:53 ../
drwx------   2 root     root         512 Oct  5 08:53 .pkginstall.11832/

dodecahedron:/var/db/pkg/emacs-22.3nb10/.pkginstall.11832 #la
total 6
   2 drwx------   2 root     root         512 Oct  5 08:53 ./
   2 drwxr-xr-x   3 root     root         512 Oct  5 08:53 ../
   2 -rw-rw-r--   1 root     root           1 Oct  5 08:53 file_perms
dodecahedron:/var/db/pkg/emacs-22.3nb10/.pkginstall.11832 #cat file_perms 


 It's a single blank line.


dodecahedron:/ #pkg_delete emacs
===========================================================================
The following users are no longer being used by emacs-22.3nb10,
and they can be removed if no other software is using them:

        games

===========================================================================
===========================================================================
The following files are no longer being used by emacs-22.3nb10,
and they can be removed if no other packages are using them:

        /var/games/emacs/tetris-scores
        /var/games/emacs/snake-scores

===========================================================================
pkg_delete: Couldn't remove package directory in `/var/db/pkg/emacs-22.3nb10'

>Fix:



Home | Main Index | Thread Index | Old Index