[gentoo-user] rebuild /var/db/pkg

2014-09-13 Thread toki clover
Hello, To make a long story short, I've lost db/pkg and I would like to rebuild.it . I only found two vero old posts : one in the forum (from 2007 or something) and another in the intertube by a lost gentoo user. Anyone is aware of some new info about this? Thanks in advance for this.

[gentoo-user] Re: rebuild /var/db/pkg

2014-09-13 Thread toki clover
I forgot to add that I have all the tbz2 tarball with the sources files. I made a little script to populate /var/db/pkg/cat/pkg, remain the specific files related to each pkg. I'm thinking of using ebuild helper with a little script which could decompress the tbz2 to D and then make ebuild merge

[gentoo-user] Re: rebuild /var/db/pkg

2014-09-13 Thread toki clover
Found: I just have to pass emerge -1 -O -gK $pkg and that's all! Lets do something else while waiting emerge to finish...