summaryrefslogtreecommitdiffstats
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
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"
-rw-r--r--NEWS3
-rw-r--r--urpm/install.pm1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index eaeb7e75..6dffed76 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- library:
+ o fix leaving read locks on rpmdb (mga#9248)
+
Version 7.24 - 18 April 2013, by Thierry Vignaud
- library:
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}) {