Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Invalid db entry
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Cicero
Apprentice
Apprentice


Joined: 21 Jul 2003
Posts: 220

PostPosted: Tue Oct 21, 2003 9:44 pm    Post subject: Invalid db entry Reply with quote

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
View user's profile Send private message
fourwood
Apprentice
Apprentice


Joined: 17 May 2003
Posts: 197

PostPosted: Tue Oct 21, 2003 11:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cicero
Apprentice
Apprentice


Joined: 21 Jul 2003
Posts: 220

PostPosted: Wed Oct 22, 2003 4:17 am    Post subject: Reply with quote

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
View user's profile Send private message
fourwood
Apprentice
Apprentice


Joined: 17 May 2003
Posts: 197

PostPosted: Wed Oct 22, 2003 4:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Cicero
Apprentice
Apprentice


Joined: 21 Jul 2003
Posts: 220

PostPosted: Wed Oct 22, 2003 5:30 am    Post subject: Reply with quote

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
View user's profile Send private message
fourwood
Apprentice
Apprentice


Joined: 17 May 2003
Posts: 197

PostPosted: Wed Oct 22, 2003 3:52 pm    Post subject: Reply with quote

So how would I fix this? Unmount the supermount? Or put a CD in?
Back to top
View user's profile Send private message
Cicero
Apprentice
Apprentice


Joined: 21 Jul 2003
Posts: 220

PostPosted: Thu Oct 23, 2003 11:19 pm    Post subject: Reply with quote

unmount the directory
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum