diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | urpm/install.pm | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -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; } |