Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25542 - Can't unmerge baselayout-1.8.5.8 (or .9) after emerging 1.8.6.8-r1
Summary: Can't unmerge baselayout-1.8.5.8 (or .9) after emerging 1.8.6.8-r1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-29 16:49 UTC by Gary Arnold
Modified: 2003-07-30 15:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Arnold 2003-07-29 16:49:57 UTC
Emerging just about anything on a system with baselayout-1.8.5.8 (or
1.8.5.9...uh, two systems, here) wants to update to baselayout 1.8.6.8-r1.  It
emerges with no problem, but when it tries to unmerge 1.8.5.8:

 sys-apps/baselayout
    selected: 1.8.5.8
   protected: 1.8.6.8-r1
     omitted: none

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

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging sys-apps/baselayout-1.8.5.8...
No package files given... Grabbing a set.
--- !mtime obj /var/tmp/.keep
--- !mtime obj /var/state/.keep
--- !mtime obj /var/spool/.keep
[ . . . blah blah blah . . . ]
--- cfgpro obj /etc/conf.d/.keep
--- cfgpro dir /etc/conf.d
--- cfgpro obj /etc/DIR_COLORS
--- !mtime obj /bin/wall
--- !mtime obj /bin/utmpdump
--- !mtime obj /bin/mesg
--- !mtime obj /bin/last
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1783, in ?
    if 1==unmerge(myaction, myfiles):
  File "/usr/bin/emerge", line 1452, in unmerge
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,unmerge_action not
in ["clean","prune"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 1879, in unmerge
    mylink.unmerge(trimworld=mytrimworld)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4237, in unmerge
    objld=listdir(obj)
  File "/usr/lib/python2.2/site-packages/portage.py", line 124, in listdir
    list = os.listdir(mypath)
OSError: [Errno 5] Input/output error: '/mnt/cdrom'

Exact same thing happens on unmerging or cleaning 1.8.5.9...just substitute the
appropriate version number.  It doesn't seem to bother the computer at all, but
I feel uneasy about it.  And what the heck is up with the '/mnt/cdrom' at the end?

Reproducible: Always
Steps to Reproduce:
1. emerge -c baselayout
2. Watch it fail to clean baselayout-1.8.5.8
Actual Results:  
See "details"

Expected Results:  
It should cleanly unmerge the old baselayout
Comment 1 SpanKY gentoo-dev 2003-07-29 17:51:06 UTC
`umount /mnt/cdrom` and try again 

*** This bug has been marked as a duplicate of 9849 ***
Comment 2 Gary Arnold 2003-07-29 20:59:29 UTC
There was no CD-ROM in the drive.  I can work around it by commenting out my /dev/cdrom line in /etc/fstab, rebooting, unmerging, uncommenting the line, and rebooting again.  Not much of a fix, really...
Comment 3 SpanKY gentoo-dev 2003-07-29 21:27:47 UTC
look at the error ... 
 
OSError: [Errno 5] Input/output error: '/mnt/cdrom' 
 
something is up with that dir ... can you `touch /mnt/cdrom/.keep` ? 
Comment 4 Gary Arnold 2003-07-29 23:40:20 UTC
Something WAS up with that directory...any attempt to see the contents gave an I/O error.  I deleted the directory, mkdir'd a new one, touched a .keep in it for good measure, and everything seems OK, now.  Now that both machines have unmerged the old baselayout, I'll have to figure something out for additional experiments. :)

Thanks for leading me down the right path!
Comment 5 SpanKY gentoo-dev 2003-07-30 15:42:46 UTC
np :)