summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-18 09:25:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-18 09:25:31 +0000
commit3fd42683ec8785f5b37210d09587a100ba8f0b92 (patch)
treed231f9052333c755ab2ffb26f466244c52ca1e9e
parente1710658999029bb7de1d8ad73800f6f0fe2cf40 (diff)
downloadurpmi-3fd42683ec8785f5b37210d09587a100ba8f0b92.tar
urpmi-3fd42683ec8785f5b37210d09587a100ba8f0b92.tar.gz
urpmi-3fd42683ec8785f5b37210d09587a100ba8f0b92.tar.bz2
urpmi-3fd42683ec8785f5b37210d09587a100ba8f0b92.tar.xz
urpmi-3fd42683ec8785f5b37210d09587a100ba8f0b92.zip
- urpmi:
o do remove __db* on priority-upgrade (fix regression introduced in 4.10.15) (may fix #36190)
-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});