diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-31 15:46:04 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-31 15:46:04 +0000 |
commit | a2ae5ab4e0715f0c89229800cc44b5b5ce051509 (patch) | |
tree | 3d7b42fff914fa4db9ccf1bfa695ac49ba9ddec5 | |
parent | 54b87de3a44c9a892bdb9d6b59bc4ddbe4e96281 (diff) | |
download | rpmdrake-a2ae5ab4e0715f0c89229800cc44b5b5ce051509.tar rpmdrake-a2ae5ab4e0715f0c89229800cc44b5b5ce051509.tar.gz rpmdrake-a2ae5ab4e0715f0c89229800cc44b5b5ce051509.tar.bz2 rpmdrake-a2ae5ab4e0715f0c89229800cc44b5b5ce051509.tar.xz rpmdrake-a2ae5ab4e0715f0c89229800cc44b5b5ce051509.zip |
(get_pkgs) fix priority upgrades by not preselecting updates in rpmdrake
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/pkg.pm | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -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; |