]> git.saurik.com Git - apt.git/commit
Only rename StatError files in AbortTransaction()
authorMichael Vogt <mvo@debian.org>
Wed, 8 Oct 2014 18:13:56 +0000 (20:13 +0200)
committerMichael Vogt <mvo@debian.org>
Wed, 8 Oct 2014 18:13:56 +0000 (20:13 +0200)
commitedd007cdfccd8db603d1f11acbf9f30272afb48c
treeb3dd5b79ec542aa4930d6634c414faea4a71f251
parent57766d984f92451dbfe0fc6f864060baacaa0f99
Only rename StatError files in AbortTransaction()

This fixes a race that we see in travis when two copy operations
finish at about the same time but the bad one first. This lead to
a rename of the good one and triggers a error when apt tries to
verify the good version but can no longer find it.
apt-pkg/acquire-item.cc