public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] rebuild /var/db/pkg
@ 2014-09-13  8:39 toki clover
  2014-09-13  9:06 ` Emanuele Rusconi
  2014-09-13 10:23 ` [gentoo-user] " toki clover
  0 siblings, 2 replies; 4+ messages in thread
From: toki clover @ 2014-09-13  8:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 410 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] rebuild /var/db/pkg
  2014-09-13  8:39 [gentoo-user] rebuild /var/db/pkg toki clover
@ 2014-09-13  9:06 ` Emanuele Rusconi
  2014-09-13 10:23 ` [gentoo-user] " toki clover
  1 sibling, 0 replies; 4+ messages in thread
From: Emanuele Rusconi @ 2014-09-13  9:06 UTC (permalink / raw
  To: gentoo-user

Have you seen this already?
http://forums.gentoo.org/viewtopic.php?t=57911

The last link is still working:
http://dev.gentoo.org/~dberkholz/scripts/regenpkgdb

-- Emanuele Rusconi


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: rebuild /var/db/pkg
  2014-09-13  8:39 [gentoo-user] rebuild /var/db/pkg toki clover
  2014-09-13  9:06 ` Emanuele Rusconi
@ 2014-09-13 10:23 ` toki clover
  2014-09-13 10:33   ` toki clover
  1 sibling, 1 reply; 4+ messages in thread
From: toki clover @ 2014-09-13 10:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

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  again. I have the
portage tree of the lost db/pkg. So it's doable.

[-- Attachment #2: Type: text/html, Size: 417 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: rebuild /var/db/pkg
  2014-09-13 10:23 ` [gentoo-user] " toki clover
@ 2014-09-13 10:33   ` toki clover
  0 siblings, 0 replies; 4+ messages in thread
From: toki clover @ 2014-09-13 10:33 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 201 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-13 10:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-13  8:39 [gentoo-user] rebuild /var/db/pkg toki clover
2014-09-13  9:06 ` Emanuele Rusconi
2014-09-13 10:23 ` [gentoo-user] " toki clover
2014-09-13 10:33   ` toki clover

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox