diff options
author | Marcelo Leitner <mrl@mandriva.com> | 2007-11-06 14:58:37 +0000 |
---|---|---|
committer | Marcelo Leitner <mrl@mandriva.com> | 2007-11-06 14:58:37 +0000 |
commit | 6b0e94d1dbaa392dab6df585ccf95f65cc9620f8 (patch) | |
tree | f6e1285471bded31739af0a159d20ba6a16142af /lib | |
parent | bac8e95ef0ba87e1309957b559766b8d304a492c (diff) | |
download | iurt-6b0e94d1dbaa392dab6df585ccf95f65cc9620f8.tar iurt-6b0e94d1dbaa392dab6df585ccf95f65cc9620f8.tar.gz iurt-6b0e94d1dbaa392dab6df585ccf95f65cc9620f8.tar.bz2 iurt-6b0e94d1dbaa392dab6df585ccf95f65cc9620f8.tar.xz iurt-6b0e94d1dbaa392dab6df585ccf95f65cc9620f8.zip |
- Remove tricky rpm --rebuilddb when builddeps are broken.
Diffstat (limited to 'lib')
-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 { |