public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] recovering from corrupted vdb
@ 2011-11-03 11:15 "Paweł Hajdan, Jr."
  2011-11-03 11:59 ` Rich Freeman
  2011-11-03 15:10 ` Zac Medico
  0 siblings, 2 replies; 3+ messages in thread
From: "Paweł Hajdan, Jr." @ 2011-11-03 11:15 UTC (permalink / raw
  To: gentoo-dev

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

Shouldn't portage offer some means to recover from a corrupted vdb?

I just stumbled upon
<http://forums.gentoo.org/viewtopic-t-900382-start-0-postdays-0-postorder-asc-highlight-.html>
and it seems really bad.

It would suck if the only solution to this is reinstall (I remember
package database becoming corrupted in some RPM-based distro I had years
ago and I hated it).

If the recovery is already possible, we should get a doc explaining what
to do. Otherwise it'd be really great to implement some recovery logic.

I think we can't salvage much from a corrupted db (anything can happen,
and the reporter mentions some code being present in the files), but at
least "emerge -e world" or equivalent should be possible.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

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

end of thread, other threads:[~2011-11-03 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03 11:15 [gentoo-dev] recovering from corrupted vdb "Paweł Hajdan, Jr."
2011-11-03 11:59 ` Rich Freeman
2011-11-03 15:10 ` Zac Medico

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