Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] /var/db/ is empty
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
BouletInside
n00b
n00b


Joined: 28 Sep 2007
Posts: 3

PostPosted: Fri Sep 28, 2007 9:50 pm    Post subject: [Solved] /var/db/ is empty Reply with quote

Hi everybody.
I think I'm in a big trouble :(
... my /var/db directory is empty ! Ok, I did a little mistake by doing some "rm -rf" :oops:

so my situation is as follow :
1) I'm on a laptop complety (except for installing/upgrading packages) functional (with X, xfce, firefox, thunderbird, etc...)

2) I still have my world file (in /var/lib/portage/world)

3) for emerge (as for eix), no packages are installed on my machine

4) when I try to emerge somthing, it gives me all the packages dependencies (as nothing seems to be installed because /var/db/pkg is empty) and I got quite a lot of
Quote:
"!!! Note that circular dependencies can often be avoided by temporarily
!!! disabling USE flags that trigger optional dependencies."


5) the /var/cache/edb directory has been empty too, but after a emerge --sync it seems ok now. Is it ?

6) I don't know what to do except jumping through my window :!:


Someone know how I can "rebuild" the /var/db/pkg directory so my installed packages can be seen as installed ?

Thank you for the help


Last edited by BouletInside on Sat Sep 29, 2007 7:40 am; edited 1 time in total
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2801
Location: Oceanside, Ca

PostPosted: Sat Sep 29, 2007 1:08 am    Post subject: Reply with quote

This thread might help you. deleted /var/db/pkg [solved] I got a email from a person who dug it up and it helped him.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
BouletInside
n00b
n00b


Joined: 28 Sep 2007
Posts: 3

PostPosted: Sat Sep 29, 2007 7:39 am    Post subject: Reply with quote

Thank you.
I'll see what I can do whith this.

I mark the post as SOLVED, as it seems to be the only solution : rebuild manually (I mean using a home made script) the /var/db/pkg directory.

Thanks again.
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 8176

PostPosted: Sat Sep 29, 2007 8:02 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please refer to the topic linked to by hielvc.
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