Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 8482

Summary: emerge unmerge failure
Product: Portage Development Reporter: Grant Goodyear (RETIRED) <g2boojum>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Grant Goodyear (RETIRED) gentoo-dev 2002-09-27 15:49:39 UTC
# emerge unmerge msyslog

 app-admin/msyslog
    selected: 1.09a
   protected: none
     omitted: none

>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.

>>> Waiting 5 seconds before starting unmerge.
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1 0
>>> Unmerging app-admin/msyslog-1.09a...
<<<        obj /usr/share/man/man8/peochk.8.gz
<<<        obj /usr/share/man/man8/om_udp.8.gz
<<<        obj /usr/share/man/man8/om_tcp.8.gz
<<<        obj /usr/share/man/man8/om_regex.8.gz
<<<        obj /usr/share/man/man8/om_refract.8.gz
<<<        obj /usr/share/man/man8/om_pgsql.8.gz
<<<        obj /usr/share/man/man8/om_peo.8.gz
<<<        obj /usr/share/man/man8/om_mysql.8.gz
<<<        obj /usr/share/man/man8/om_directory.8.gz
<<<        obj /usr/share/man/man8/om_classic.8.gz
<<<        obj /usr/share/man/man8/msyslogd.8.gz
<<<        obj /usr/share/man/man8/im_unix.8.gz
<<<        obj /usr/share/man/man8/im_udp.8.gz
<<<        obj /usr/share/man/man8/im_tcp.8.gz
<<<        obj /usr/share/man/man8/im_streams.8.gz
<<<        obj /usr/share/man/man8/im_pipe.8.gz
<<<        obj /usr/share/man/man8/im_linux.8.gz
<<<        obj /usr/share/man/man8/im_file.8.gz
<<<        obj /usr/share/man/man8/im_doors.8.gz
<<<        obj /usr/share/man/man8/im_bsd.8.gz
<<<        obj /usr/share/man/man5/msyslog.conf.5.gz
<<<        obj /usr/share/doc/msyslog-1.09a/examples/syslog.conf.regex.gz
<<<        obj /usr/share/doc/msyslog-1.09a/examples/syslog.conf.pgsql.gz
<<<        obj /usr/share/doc/msyslog-1.09a/examples/syslog.conf.peo.gz
<<<        obj /usr/share/doc/msyslog-1.09a/examples/syslog.conf.mysql.gz
<<<        obj /usr/share/doc/msyslog-1.09a/examples/syslog.conf.classic.gz
<<<        obj /usr/share/doc/msyslog-1.09a/examples/om_mymodule.c.gz
<<<        obj /usr/share/doc/msyslog-1.09a/examples/im_mymodule.c.gz
<<<        obj /usr/share/doc/msyslog-1.09a/copyright.gz
<<<        obj /usr/share/doc/msyslog-1.09a/TODO.gz
<<<        obj /usr/share/doc/msyslog-1.09a/README.mysql.gz
<<<        obj /usr/share/doc/msyslog-1.09a/README.gz
<<<        obj /usr/share/doc/msyslog-1.09a/QUICK_INSTALL.gz
<<<        obj /usr/share/doc/msyslog-1.09a/NEWS.gz
<<<        obj /usr/share/doc/msyslog-1.09a/INSTALL.gz
<<<        obj /usr/share/doc/msyslog-1.09a/HOW_TO_WRITE_A_MODULE.gz
<<<        obj /usr/share/doc/msyslog-1.09a/HOW-TO-UPGRADE.gz
<<<        obj /usr/share/doc/msyslog-1.09a/ChangeLog.gz
<<<        obj /usr/share/doc/msyslog-1.09a/COPYING.gz
<<<        obj /usr/share/doc/msyslog-1.09a/AUTHORS.gz
<<<        obj /usr/sbin/peochk
<<<        obj /usr/sbin/msyslogd
<<<        obj /usr/lib/libmsyslog.so.1.09a
--- !mtime obj /etc/init.d/msyslog
--- !mtime obj /etc/conf.d/msyslog
<<<        sym /usr/lib/libmsyslog.so
<<<        dir /usr/share/doc/msyslog-1.09a/examples
<<<        dir /usr/share/doc/msyslog-1.09a
--- !empty dir /usr/share/man/man8
--- !empty dir /usr/share/man/man5
--- !empty dir /usr/share/man
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/sbin
--- !empty dir /usr/lib
--- !empty dir /usr
--- !empty dir /etc/msyslog
--- !empty dir /etc/init.d
--- !empty dir /etc/conf.d
--- !empty dir /etc
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1324, in ?
    if 1==unmerge(myaction, myfiles):
  File "/usr/bin/emerge", line 1101, in unmerge
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1373, in unmerge
    mylink.delete()
  File "/usr/lib/python2.2/site-packages/portage.py", line 3129, in delete
    os.unlink(self.dbdir+"/"+x)
OSError: [Errno 21] Is a directory: '//var/db/pkg/app-admin/msyslog-1.09a/files'

# emerge -s msyslog
Searching...   
[ Results for search key : msyslog ]
[ Applications found : 1 ]
 
*  app-admin/msyslog
      Latest version available: 1.09a
      Latest version installed: 1.09a
      Homepage: http://sourceforge.net/projects/msyslog/
      Description: Flexible and easy to integrate syslog with modularized
input/output
 
orange-pc msyslog # which msyslog
which: no msyslog in
(/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/X11R6/bin:/opt/blackdown-jre-1.3.1/bin:/usr/qt/3/bin:/usr/kde/3/bin:/usr/kde/3/bin)
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2002-10-10 13:53:20 UTC
post this file please, if you have it still:
/var/db/pkg/app-admin/msyslog-1.09a/CONTENTS

Then you can 'rm -Rf /var/db/pkg/app-admin/msyslog-1.09a'
if you wanna get rid of the package. The 'files' directory
shouldn't exist, I wanna verify that the package didn't
create it. You've already unmerged the package, so killing
the db directory won't hurt. You could/should remove the
app-admin/msyslog line from your world file too.
Comment 2 Grant Goodyear (RETIRED) gentoo-dev 2002-10-10 13:59:12 UTC
I'm afraid that I killed the msyslog-1.09a directory in /var/db/pkg/app-admin
some time ago (using rm -rf).
Comment 3 John Huttley 2002-10-15 23:26:31 UTC
Bug is alive and kicking. Tried to update dev-perl/ExtUtilsMakeMaker just now.
The clean operation (unmerge) gave errno 21 Is a Directory '/var/db/pkg/dev-
perl/ExtUtils-Makemaker-6.03-r1/files'

Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2002-10-16 07:33:39 UTC
Ok... 6.05 is current for that package.
I can't duplicate.

Do this please:
emerge rsync
emerge portage
rm -Rf /var/db/pkg/dev-perl/ExtUtils-MakeMaker/files
emerge ExtUtils-MakeMaker
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2002-11-11 07:56:36 UTC
Nothing new on this bug. Closing.