From 8ceeb6e06e4fd26f038dcf314d1bccead4132797 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 14 Nov 2020 20:39:58 +0000 Subject: Disable timeout when removing unused packages. It can cause irrepairable damage to the rpm database (mga#27580). --- perl-install/NEWS | 2 ++ perl-install/pkgs.pm | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 4315795f5..51b1f8e34 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- remove-unused-packages: + o disable timeout - it can corrupt the rpm database (mga#27580) - drakhardware: o fix hardware support package detection (mga#27122) 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), ); -- cgit v1.2.1