View previous topic :: View next topic |
Author |
Message |
Cicero Apprentice
Joined: 21 Jul 2003 Posts: 220
|
Posted: Tue Oct 21, 2003 9:44 pm Post subject: Invalid db entry |
|
|
Whenever I unmerge a package, I get this at the end:
!!! Invalid db entry: /var/db/pkg/[category]/[packagename].portage_lockfile
Portage 2.0.49-r13-2 |
|
Back to top |
|
|
fourwood Apprentice
Joined: 17 May 2003 Posts: 197
|
Posted: Tue Oct 21, 2003 11:18 pm Post subject: |
|
|
I get this with baselayout-1.8.6.10-r1.portage.lockfile being the problem. It appears that unmerging baselayout-1.8.6.10-r1 when I emerged baselayout-1.8.6.11 fails. It gives an error, which I'll post in a minute when my emerge finishes and tells me what it is.
Here's the tail end of the 1.8.6.10-r1 unmerging, plus the error
Code: |
--- !found obj /dev/shm/.keep
--- !found obj /dev/pts/.keep
--- !found obj /dev/.keep
--- !mtime obj /bin/wall
--- !mtime obj /bin/utmpdump
--- !mtime obj /bin/rc-status
--- !mtime obj /bin/mesg
--- !mtime obj /bin/last
Traceback (most recent call last):
File "/usr/bin/emerge", line 2153, in ?
mydepgraph.merge(mydepgraph.altlist())
File "/usr/bin/emerge", line 1398, in merge
if not unmerge("clean", [xsplit[0]]):
File "/usr/bin/emerge", line 1603, 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 1960, in unmerge
mylink.unmerge(trimworld=mytrimworld)
File "/usr/lib/python2.2/site-packages/portage.py", line 4527, in unmerge
objld=listdir(obj)
File "/usr/lib/python2.2/site-packages/portage.py", line 145, in listdir
list = os.listdir(mypath)
OSError: [Errno 5] Input/output error: '/mnt/cdrom'
root@fourwood fourwood #
|
|
|
Back to top |
|
|
Cicero Apprentice
Joined: 21 Jul 2003 Posts: 220
|
Posted: Wed Oct 22, 2003 4:17 am Post subject: |
|
|
Code: |
OSError: [Errno 5] Input/output error: '/mnt/cdrom'
|
That means that you changed something about /mnt/cdrom, probably using supermount? Anyway, it's unrelated to the invalid db entry error. |
|
Back to top |
|
|
fourwood Apprentice
Joined: 17 May 2003 Posts: 197
|
Posted: Wed Oct 22, 2003 4:39 am Post subject: |
|
|
I am using supermount... but what does the cdrom have to do with portage and unmerging baseutils?
Edit: and the errors showed up at the same time. |
|
Back to top |
|
|
Cicero Apprentice
Joined: 21 Jul 2003 Posts: 220
|
Posted: Wed Oct 22, 2003 5:30 am Post subject: |
|
|
because if you try to enter a supermounted directory when there is no media, you get an I/O error. baselayout has a .keep file in /mnt/cdrom |
|
Back to top |
|
|
fourwood Apprentice
Joined: 17 May 2003 Posts: 197
|
Posted: Wed Oct 22, 2003 3:52 pm Post subject: |
|
|
So how would I fix this? Unmount the supermount? Or put a CD in? |
|
Back to top |
|
|
Cicero Apprentice
Joined: 21 Jul 2003 Posts: 220
|
Posted: Thu Oct 23, 2003 11:19 pm Post subject: |
|
|
unmount the directory |
|
Back to top |
|
|
|