summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/install.pm3
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 71bd6398..eef8f2ae 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- explicitely close the RPM DB on comleting transaction (needed for drakx)
+
Version 6.22 - 3 March 2009
- drop support for /etc/urpmi/media.d/*.cfg
diff --git a/urpm/install.pm b/urpm/install.pm
index 7598d6fe..035fb924 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -285,6 +285,9 @@ 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;
+
@errors;
}