summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-12-18 03:14:00 +0000
committerThierry Vignaud <tv@mageia.org>2011-12-18 03:14:00 +0000
commit23bb76712a2244da0f2a17fcac38d9c29a9a3a8c (patch)
tree3b653f2f7067ba224364b5eb0a7237e5e64c0166
parentf74e5e08b1e023f1812a7bbfb416c7764b110dbb (diff)
downloadurpmi-23bb76712a2244da0f2a17fcac38d9c29a9a3a8c.tar
urpmi-23bb76712a2244da0f2a17fcac38d9c29a9a3a8c.tar.gz
urpmi-23bb76712a2244da0f2a17fcac38d9c29a9a3a8c.tar.bz2
urpmi-23bb76712a2244da0f2a17fcac38d9c29a9a3a8c.tar.xz
urpmi-23bb76712a2244da0f2a17fcac38d9c29a9a3a8c.zip
do not compute orphan packages when handling priority upgrades
-rw-r--r--NEWS3
-rwxr-xr-xurpmi2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 0b366ae1..1a82928b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpmi
+ o do not compute orphan packages when handling priority upgrades
+
Version 6.42 - 05 November 2011
- urpmi.addmedia:
diff --git a/urpmi b/urpmi
index 2e998506..f6c63274 100755
--- a/urpmi
+++ b/urpmi
@@ -694,7 +694,7 @@ my $exit_code = urpm::main_loop::run($urpm, $state,
}
});
-if ($exit_code == 0 && $auto_select && !$options{auto_orphans}) {
+if ($exit_code == 0 && $auto_select && !$options{auto_orphans} && !$restart_itself) {
if (urpm::orphans::check_unrequested_orphans_after_auto_select($urpm)) {
if (my $msg = urpm::orphans::get_now_orphans_msg($urpm)) {
print "\n", $msg;