aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/pkg.pm3
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3b5a7b94..2d381111 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@
o do not crash if package is unknow (#39608)
o do not crash if config file set empty values for some variables
(eg: after old buggy gurpmi.addmedia garbaged it) (#39511)
+ o fix priority upgrades:
+ * do not preselect updates
Version 4.9.9 - 28 March 2008, Thierry Vignaud
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index e43e2e6e..0ef07ed7 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -450,6 +450,9 @@ sub get_pkgs {
# list updates including skiped ones + their deps in MandrivaUpdate:
@requested = uniq(@requested, @requested_strict);
+ # do not pre select updates in rpmdrake:
+ undef @requested_strict if !$probe_only_for_updates;
+
$priority_state = $need_restart ? $state : undef;
$priority_requested = $need_restart ? $requested : undef;