View previous topic :: View next topic |
Author |
Message |
BouletInside n00b
Joined: 28 Sep 2007 Posts: 3
|
Posted: Fri Sep 28, 2007 9:50 pm Post subject: [Solved] /var/db/ is empty |
|
|
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"
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 |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
BouletInside n00b
Joined: 28 Sep 2007 Posts: 3
|
Posted: Sat Sep 29, 2007 7:39 am Post subject: |
|
|
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 |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sat Sep 29, 2007 8:02 am Post subject: |
|
|
Moved from Portage & Programming to Duplicate Threads, please refer to the topic linked to by hielvc. |
|
Back to top |
|
|
|