summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/install.pm4
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 9504450f..50b0dba9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- explicitely close the RPM DB after each transaction
- warn if --allow-force, --allow-nodeps, --force or --keep is in use (mga#3127)
Version 6.45 - 27 February 2012
diff --git a/urpm/install.pm b/urpm/install.pm
index 4d58efdc..fc30b847 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -291,6 +291,10 @@ sub install {
urpm::sys::may_clean_rpmdb_shared_regions($urpm, $options{test});
+ # explicitely close the RPM DB (needed for drakx -- looks like refcount has hard work):
+ undef $db;
+ undef $trans;
+
@errors;
}