summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-08 11:32:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-08 11:32:38 +0000
commit9995bbc5a46a100fbe4b2d161e22933ae77e8e35 (patch)
tree1a78c54526627bc27f9d6754c78a9da2f8c67357
parent303ce9e187edb2f9813b3c4db8ab57390624e478 (diff)
downloadurpmi-9995bbc5a46a100fbe4b2d161e22933ae77e8e35.tar
urpmi-9995bbc5a46a100fbe4b2d161e22933ae77e8e35.tar.gz
urpmi-9995bbc5a46a100fbe4b2d161e22933ae77e8e35.tar.bz2
urpmi-9995bbc5a46a100fbe4b2d161e22933ae77e8e35.tar.xz
urpmi-9995bbc5a46a100fbe4b2d161e22933ae77e8e35.zip
- urpmi
o always prompt before doing a priority-upgrade transaction, even if there is only one priority upgrade package (since there will be more packages to install after restarting urpmi) see bug #36483 which mention this
-rw-r--r--NEWS3
-rwxr-xr-xurpmi2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index cdef20f8..dddcfef9 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,9 @@
- urpmi:
o do remove __db* on priority-upgrade
(fix regression introduced in 4.10.15)
+ o always prompt before doing a priority-upgrade transaction, even if there
+ is only one priority upgrade package (since there will be more packages to
+ install after restarting urpmi)
Version 4.10.19 - 12 December 2007, by Pascal "Pixel" Rigaux
diff --git a/urpmi b/urpmi
index eb8f3d4f..2a4551bb 100755
--- a/urpmi
+++ b/urpmi
@@ -558,7 +558,7 @@ have to be removed for others to be upgraded:\n%s\n", $list);
#- check if there is at least one package to install that
#- has not been given by the user.
-my $ask_user = $env || $search_result eq 'substring';
+my $ask_user = $env || $search_result eq 'substring' || $restart_itself;
my @root_only;
my @to_install = @{$urpm->{depslist}}[sort { $a <=> $b } keys %{$state->{selected}}]; # sorted by medium for format_selected_packages