summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rwxr-xr-xurpmi2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 18c6b754..1e12e2aa 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- urpmi:
+ o do remove __db* on priority-upgrade
+ (fix regression introduced in 4.10.15)
+
Version 4.10.19 - 12 December 2007, by Pascal "Pixel" Rigaux
- urpmi:
diff --git a/urpmi b/urpmi
index 775dc4c7..1c1d0553 100755
--- a/urpmi
+++ b/urpmi
@@ -326,7 +326,7 @@ if ($options{previous_priority_upgrade}) {
require urpm::sys;
urpm::sys::fix_fd_leak();
# also, clean up rpm db log files, because rpm might have been upgraded
- urpm::sys::clean_rpmdb_shared_regions('') if $urpm->{root};
+ urpm::sys::clean_rpmdb_shared_regions('') if !$urpm->{root};
}
my $urpmi_lock = !$env && !$options{nolock} && urpm::lock::urpmi_db($urpm, '', wait => $options{wait_lock});