diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-25 16:18:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-25 16:18:31 +0000 |
commit | e7e8c533b6f98fb49235558a490ad58df43bc3b1 (patch) | |
tree | cd7ce9f56ac16ecdde016e49cc846e0d95c30b5a | |
parent | c00350db4a4d3ea1025ca62bca1085b249619f55 (diff) | |
download | perl-URPM-e7e8c533b6f98fb49235558a490ad58df43bc3b1.tar perl-URPM-e7e8c533b6f98fb49235558a490ad58df43bc3b1.tar.gz perl-URPM-e7e8c533b6f98fb49235558a490ad58df43bc3b1.tar.bz2 perl-URPM-e7e8c533b6f98fb49235558a490ad58df43bc3b1.tar.xz perl-URPM-e7e8c533b6f98fb49235558a490ad58df43bc3b1.zip |
- allow fixing "using one big transaction" that occurs when using --keep
(#30198)
nb: since build_transaction_set calls resolve_requested, it must use the same
options to select the same packages
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM/Resolve.pm | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -2,6 +2,8 @@ installed (#29838) - handle new package providing xxx which conflicts with an installed package (#17106) - fix sort choices changed in perl-URPM 3.08 +- allow fixing "using one big transaction" that occurs when using --keep + (#30198) Version 3.08 - 25 February 2008, by Pascal "Pixel" Rigaux diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 2845407..bc6da6b 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -1738,6 +1738,7 @@ sub sorted_rpms_to_string { } #- build transaction set for given selection +#- options: start, end, idlist, split_length, keep #- #- side-effects: $state->{transaction}, $state->{transaction_state} sub build_transaction_set { @@ -1775,6 +1776,7 @@ sub build_transaction_set { \%requested, defined $options{start} ? (start => $options{start}) : @{[]}, defined $options{end} ? (end => $options{end}) : @{[]}, + keep => $options{keep}, ); my @upgrade = grep { ! exists $examined{$_} } keys %{$state->{transaction_state}{selected}}; |