summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-11-14 20:39:58 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-11-14 20:39:58 +0000
commit8ceeb6e06e4fd26f038dcf314d1bccead4132797 (patch)
tree93f6ff833bd945bdaab194c3f1a106c201370c27 /perl-install/pkgs.pm
parent64799d2e266fa5f1077600cf8a88fb605b509cce (diff)
downloaddrakx-8ceeb6e06e4fd26f038dcf314d1bccead4132797.tar
drakx-8ceeb6e06e4fd26f038dcf314d1bccead4132797.tar.gz
drakx-8ceeb6e06e4fd26f038dcf314d1bccead4132797.tar.bz2
drakx-8ceeb6e06e4fd26f038dcf314d1bccead4132797.tar.xz
drakx-8ceeb6e06e4fd26f038dcf314d1bccead4132797.zip
Disable timeout when removing unused packages.
It can cause irrepairable damage to the rpm database (mga#27580).
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 892f758da..5faace128 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -292,7 +292,8 @@ sub remove_unused_packages {
#- we should have some gurpme
$wait = $in->wait_message(N("Please wait"), N("Removing packages..."));
- run_program::rooted($o_prefix, 'urpme', '--auto',
+ #- disable timeout, it can cause irrepairable damage to the rpm database (mga#27580)
+ run_program::raw({ root => $o_prefix, timeout => 'never' }, 'urpme', '--auto',
if_($hardware, @unused_hardware_packages),
if_($locales, @unselected_locales),
);