Dale a écrit : > Xavier Parizet wrote: >> Dale a écrit : >> >>> Xavier Parizet wrote: >>> >>>> Hi everyone, >>>> >>>> I had some problem with /var/db/pkg : it's empty. So, how can i fix this >>>> without >>>> rebuilding world and system from scratch ? >>>> >>>> Thanks a lot for your help. >>>> >>> I'm not sure but does emerge --metadata do this? You may want to man >>> emerge and see if anything else can do what you want to. >>> >> Emerge --metadata is just updating the portage cache from the /var/db/pkg to >> speedup dependencies calculation... I was thinking about doing an emerge >> --pretend --empty world with some kind of sed/awk to get a list of what would >> normally be installed on my system, but circular dependencies kill the idea >> in >> the egg... because actually, portage think that nothing is installed on my >> system... >> >> Any other idea ? >> > I don't but I'd wait until some other guru that has ran into this > problem comes along with a fix or advice on something to try. > > What happened anyway? Get a little happy with rm -rf or something?
I was trying to write a script that speedup portage putting those kind of cache/dependencies/databases into memory, then to sync them on disk from time to times... it worked until i crash my system, without recovering the db... > Dale > > :-) :-) -- Xavier Parizet YaGB : http://gentooist.com GPG : C7DC B10E FC21 63BE B453 D239 F6E6 DF65 1569 91BF
signature.asc
Description: OpenPGP digital signature