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

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
deurk
Apprentice
Apprentice


Joined: 11 Mar 2003
Posts: 190
Location: Earth 1.3

PostPosted: Fri Oct 24, 2003 5:54 am    Post subject: Portage invalid db entry Reply with quote

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
View user's profile Send private message
XL-Reaper
n00b
n00b


Joined: 25 Mar 2003
Posts: 50

PostPosted: Fri Oct 24, 2003 7:10 am    Post subject: Reply with quote

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
View user's profile Send private message
XL-Reaper
n00b
n00b


Joined: 25 Mar 2003
Posts: 50

PostPosted: Fri Oct 24, 2003 10:49 am    Post subject: Reply with quote

Doesn´t anybody have an idea ?
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Fri Oct 24, 2003 6:49 pm    Post subject: Reply with quote

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


Joined: 11 Mar 2003
Posts: 190
Location: Earth 1.3

PostPosted: Fri Oct 24, 2003 8:47 pm    Post subject: Reply with quote

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


Joined: 31 Jul 2003
Posts: 21
Location: Perth, Australia

PostPosted: Tue Oct 28, 2003 2:15 am    Post subject: Reply with quote

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 :wink:

Any suggestions? ...
Back to top
View user's profile Send private message
Ekj530
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2003
Posts: 130
Location: Atlantic Beach, NC

PostPosted: Tue Oct 28, 2003 3:25 am    Post subject: Reply with quote

Quote:
This does not seem to cause a problem, but it is annoying to an anal individual like myself :wink:


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! 8O
_________________
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
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Sat Jan 24, 2004 9:40 pm    Post subject: Reply with quote

Moved to 'Duplicate Threads'.

:arrow: 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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