diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2020-11-14 20:39:58 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2020-11-14 20:39:58 +0000 |
commit | 8ceeb6e06e4fd26f038dcf314d1bccead4132797 (patch) | |
tree | 93f6ff833bd945bdaab194c3f1a106c201370c27 /perl-install/pkgs.pm | |
parent | 64799d2e266fa5f1077600cf8a88fb605b509cce (diff) | |
download | drakx-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.pm | 3 |
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), ); |