summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/pkgs.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 6ed6f49e6..d2ad5f7cc 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -316,6 +316,11 @@ sub empty_packages {
$packages->{prefer_vendor_list} = '/etc/urpmi/prefer.vendor.list';
$packages->{keep_unrequested_dependencies} =
defined($o_keep_unrequested_dependencies) ? $o_keep_unrequested_dependencies : 1;
+ $urpm::args::options{force_transactions} = 1;
+ $packages->{options}{ignoresize} = 1;
+ $packages->{options}{'priority-upgrade'}; # prevent priority upgrade
+ # log $trans->add() faillure; FIXME: should we override *urpm::msg::sys_log?
+ $packages->{debug} = \&log::l;
$packages;
}
@@ -718,13 +723,8 @@ sub _install_raw {
# let's be urpmi's compatible:
local $packages->{options}{noscripts} = $noscripts;
- $urpm::args::options{force_transactions} = 1;
- local $packages->{options}{ignoresize} = 1;
# leaks a fd per transaction:
#local $packages->{options}{script_fd} = fileno $LOG;
- local $packages->{options}{'priority-upgrade'}; # prevent priority upgrade
- # log $trans->add() faillure; FIXME: should we override *urpm::msg::sys_log?
- local $packages->{debug} = \&log::l;
my ($retry, $retry_count);