/[soft]
ViewVC logotype

Revision 8331


Jump to revision: Previous Next
Author: colin
Date: Sun May 19 10:12:48 2013 UTC (10 years, 11 months ago)
Changed paths: 2
Log Message:
library: ensure priority updates are installed in a single transaction.

This fix is needed in cases where rpm's libdb changes. If the priority updates
happen to be installed in more than one transaction, the %post script in rpm
which deletes the old index files (/var/lib/rpm/__db.*) may happen at the
end of the first of those transactions. This causes the indexes to be
regenerated by the *old* db version and causes the second transaction to fail.

By ensuring the priority updates are handled in a single transaction, the
indexes will be recreated after the urpmi restart and will thus use the
correct, new libdb to create the indexes.

Patch and fix from Thierry Vignaud

Changed paths

Path Details
Directoryrpm/urpmi/trunk/NEWS modified , text changed
Directoryrpm/urpmi/trunk/urpm/select.pm modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.30