On Mon, 05 Oct 2009 18:49:19 +0200
Rodolphe Rocca <[email protected]> wrote:
> Correct me if I'm wrong, but if _paludis_ crashes in the middle of a
> VDB update, /var/db/pkg will be left in an inconsistent state.

It can happen, but it's not so likely as you think. The "write things
to VDB" code doesn't do anything fancy, and we do writes to VDB in a
separate -installing- directory anyway (to avoid having to special
case reinstalls, not for any kind of safety).

The easiest way to get VDB in an inconsistent state is to have a
package die in pkg_prerm on an upgrade or reinstall... If that happens
it's "fix it yourself by hand" time anyway.

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to