summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-05-19 14:53:11 +0000
committerColin Guthrie <colin@mageia.org>2013-05-19 14:53:11 +0000
commit7e7a31e107b5819646ca26da408d70cfd5b0a836 (patch)
tree854b92613931fd473f58c2d0fb323c30efba4428 /urpm/install.pm
parentdd074e1eb2afc2e61b272c4b4ac47250a98a9f52 (diff)
downloadurpmi-7e7a31e107b5819646ca26da408d70cfd5b0a836.tar
urpmi-7e7a31e107b5819646ca26da408d70cfd5b0a836.tar.gz
urpmi-7e7a31e107b5819646ca26da408d70cfd5b0a836.tar.bz2
urpmi-7e7a31e107b5819646ca26da408d70cfd5b0a836.tar.xz
urpmi-7e7a31e107b5819646ca26da408d70cfd5b0a836.zip
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 (Cherry picked from r8331)
Diffstat (limited to 'urpm/install.pm')
0 files changed, 0 insertions, 0 deletions