View previous topic :: View next topic |
Author |
Message |
deurk Apprentice
Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Fri Oct 24, 2003 5:54 am Post subject: Portage invalid db entry |
|
|
Hi guys,
I'm currently having some errors when emerging any package.
This is an example of what I get after installing a package:
Code: | !!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd
!!! Couldn't find match for net-mail/mailbase |
As a big fan of no errors, I even tried removing the whole /var/db/pkg directory... which ended up in portage not knowing that all the installed apps where... installed.
So basically, each time I was emerging some app, I had to emerge all the dependencies (even though they were physically still there and working).
Would someone have any idea on how to rebuild my 'world file' based on what's actually installed... and on how to fix this stupid error above when I emerge packages?
Thanks! |
|
Back to top |
|
|
XL-Reaper n00b
Joined: 25 Mar 2003 Posts: 50
|
Posted: Fri Oct 24, 2003 7:10 am Post subject: |
|
|
I get exactly the same error !
Code: |
>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies... [ ok ]
>>> Auto-cleaning packages ...
!!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd!!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date. |
Where can i find this "db entry" ? |
|
Back to top |
|
|
XL-Reaper n00b
Joined: 25 Mar 2003 Posts: 50
|
Posted: Fri Oct 24, 2003 10:49 am Post subject: |
|
|
Doesn´t anybody have an idea ? |
|
Back to top |
|
|
Narada Guru
Joined: 12 Dec 2002 Posts: 300 Location: London, UK
|
Posted: Fri Oct 24, 2003 6:49 pm Post subject: |
|
|
The initial error about invalid db entry seems to be a bug with portage rather than a problem with your system. Removing /var/db/pkg was an extremely bad idea though as Gentoo relies upon it heavily. The command `regenworld` rebuilds the world file but it uses /var/db/pkg to do so. There is no way to recreate that directory without re-emerging packages. You may have to do emerge -De world or something similar as long as you did not obliterate your world file. Just some thoughts. Also, look at the bug report for this problem. _________________ http://dhruba.name/ |
|
Back to top |
|
|
deurk Apprentice
Joined: 11 Mar 2003 Posts: 190 Location: Earth 1.3
|
Posted: Fri Oct 24, 2003 8:47 pm Post subject: |
|
|
Thanks for the support.
Actually, I had to recompile every package even though it was installed to be able to reuse my gentoo system normally.
Eventually at some point it gave me error messages for world entities not corresponding to /var/db... so I'm just making sure that every one of those if reemmerged.
Not clean (of course) but should do the trick.
Thanks anyway |
|
Back to top |
|
|
glintboy n00b
Joined: 31 Jul 2003 Posts: 21 Location: Perth, Australia
|
Posted: Tue Oct 28, 2003 2:15 am Post subject: |
|
|
I got the same error...
Code: |
>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies... [ ok ]
>>> Auto-cleaning packages ...
!!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd!!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd
>>> No outdated packages were found on your system.
|
This was after emerging the latest update to coreutils (coreutils-5.0-r3). I tried reemerging devfsd, but to no avail. This does not seem to cause a problem, but it is annoying to an anal individual like myself
Any suggestions? ... |
|
Back to top |
|
|
Ekj530 Tux's lil' helper
Joined: 08 Sep 2003 Posts: 130 Location: Atlantic Beach, NC
|
Posted: Tue Oct 28, 2003 3:25 am Post subject: |
|
|
Quote: | This does not seem to cause a problem, but it is annoying to an anal individual like myself |
I have to agree. WIth a source based distro where an error can cause you hours of pain, it is rather unsettling to have to see that word after every package you merge. I click the executable with aprehension because of it! _________________ If you're being chased by a bear remember: you don't have to outrun
the bear; you only have to outrun your hiking buddy. |
|
Back to top |
|
|
ian! Bodhisattva
Joined: 25 Feb 2003 Posts: 3829 Location: Essen, Germany
|
Posted: Sat Jan 24, 2004 9:40 pm Post subject: |
|
|
Moved to 'Duplicate Threads'.
https://forums.gentoo.org/viewtopic.php?t=105082 _________________ "To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins |
|
Back to top |
|
|
|