summaryrefslogtreecommitdiffstats
path: root/perl-install/install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r--perl-install/install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 2db5d5731..4d72a761e 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -317,7 +317,7 @@ sub empty_packages {
$packages->{keep_unrequested_dependencies} =
defined($o_keep_unrequested_dependencies) ? $o_keep_unrequested_dependencies : 1;
$urpm::args::options{force_transactions} = 1;
- $urpm::args::options{replacepkgs} = 1;
+ $::force = 1;
$packages->{options}{ignoresize} = 1;
$packages->{options}{'priority-upgrade'}; # prevent priority upgrade
# log $trans->add() faillure; FIXME: should we override *urpm::msg::sys_log?