diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-25 16:19:32 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-25 16:19:32 +0000 |
commit | a808a1057f45d2a04ce95297c775911c03559653 (patch) | |
tree | 90a8ad45e9a3aefd8a921f7ce3ab0309e8fa1618 /urpm | |
parent | efe5b3dce043bfe0b215f0b4bd6d2dc44971b515 (diff) | |
download | urpmi-a808a1057f45d2a04ce95297c775911c03559653.tar urpmi-a808a1057f45d2a04ce95297c775911c03559653.tar.gz urpmi-a808a1057f45d2a04ce95297c775911c03559653.tar.bz2 urpmi-a808a1057f45d2a04ce95297c775911c03559653.tar.xz urpmi-a808a1057f45d2a04ce95297c775911c03559653.zip |
- urpmi
o fix "using one big transaction" that occurs when using --keep
(#30198) (part of the fix is in perl-URPM 3.09)
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/install.pm | 2 | ||||
-rw-r--r-- | urpm/main_loop.pm | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm index bbfa8183..545cdbb0 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -51,7 +51,7 @@ sub build_transaction_set_ { local $SIG{QUIT} = $sig_handler; #- build transaction set... - $urpm->build_transaction_set($db, $state, split_length => $options{split_length}); + $urpm->build_transaction_set($db, $state, split_length => $options{split_length}, keep => $options{keep}); } } diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 9cdc5872..506b2d94 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -62,6 +62,7 @@ $callbacks->{post_removable} and $callbacks->{post_removable}->(); urpm::install::build_transaction_set_($urpm, $state, rpmdb => $env && "$env/rpmdb.cz", nodeps => $urpm->{options}{'allow-nodeps'} || $urpm->{options}{'allow-force'}, + keep => $urpm->{options}{keep}, split_level => $urpm->{options}{'split-level'}, split_length => !$test && $urpm->{options}{'split-length'}); |