summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-20 22:53:38 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-20 22:53:38 +0000
commitea59234ebdb7e6a9a331aeb0c037e4f7e8607865 (patch)
tree5a2dc4b08b6526df4fc2027ac3dcd8077aa95a22 /urpm
parented840c7ced49ae83e309de12a181f02be3b1b5eb (diff)
downloadurpmi-ea59234ebdb7e6a9a331aeb0c037e4f7e8607865.tar
urpmi-ea59234ebdb7e6a9a331aeb0c037e4f7e8607865.tar.gz
urpmi-ea59234ebdb7e6a9a331aeb0c037e4f7e8607865.tar.bz2
urpmi-ea59234ebdb7e6a9a331aeb0c037e4f7e8607865.tar.xz
urpmi-ea59234ebdb7e6a9a331aeb0c037e4f7e8607865.zip
fix leaving read locks on rpmdb (mga#9248)
regression introduced in commit r7280 on Feb 5 2013: "(install_logger) unify with callback_uninst(), thus fixing counting for erasures"
Diffstat (limited to 'urpm')
-rw-r--r--urpm/install.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 0e132484..de52dca1 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -362,6 +362,7 @@ sub install {
local $urpm->{trans} = $trans;
@errors = $trans->run($urpm, %options);
delete $urpm->{trans};
+ undef $erase_logger;
#- don't clear cache if transaction failed. We might want to retry.
if (!@errors && !$options{test} && $options{post_clean_cache}) {