diff options
-rw-r--r-- | lib/Iurt/Urpmi.pm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 62f00ed..563a879 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -212,11 +212,6 @@ sub add_packages { debug_mail => $run->{debug}, error_regexp => 'cannot be installed', wait_regexp => { - 'is needed by' => sub { - plog("WARNING: rpm database seems corrupted, retrying"); - system("sudo chroot $chroot rm -rf /var/lib/rpm/__db* &> /dev/null"); - 1; - }, 'database locked' => sub { plog("WARNING: urpmi database locked, waiting..."); sleep 30; @@ -441,11 +436,6 @@ sub install_packages { error_regexp => 'cannot be installed', wait_regexp => { 'database locked' => \&wait_urpmi, - 'is needed by' => sub { - plog('WARN', "WARNING: rpm database seems corrupted, retrying"); - system("sudo chroot $chroot_tmp rm -rf /var/lib/rpm/__db* &> /dev/null"); - 1; - }, }, log => $log_spool, callback => sub { |