From c24757c923841de1901501b227d1411eafefc4e4 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 10 Dec 2012 20:50:42 +0000 Subject: Get rid of cache --- lib/Iurt/Urpmi.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/Iurt/Urpmi.pm') diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 96c9d96..8ecee8c 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -7,7 +7,7 @@ use File::NCopy qw(copy); use MDV::Distribconf::Build; use Iurt::Chroot qw(add_local_user create_temp_chroot); use Iurt::Process qw(perform_command clean_process sudo); -use Iurt::Config qw(dump_cache_par get_maint get_package_prefix); +use Iurt::Config qw(get_maint get_package_prefix); use Iurt::Util qw(plog); use urpm; @@ -404,7 +404,6 @@ sub install_packages_old { wait_regexp => { 'database locked' => \&wait_urpmi }, error_regexp => 'unable to access', log => $log_spool)) { - $cache->{failure}{$srpm} = 1; $run->{status}{$srpm} = 'binary_test_failure'; return 0; } @@ -541,7 +540,6 @@ sub install_packages { )) { plog('DEBUG', "urpmi command failed."); if (!clean_process("$self->{urpmi_command} @to_install")) { - dump_cache_par($run); die "FATAL $program_name: Could not have urpmi working !"; } $ok = 0; @@ -565,7 +563,6 @@ sub clean_urpmi_process { if (!$run->{chrooted_urpmi}) { my $match = $self->{urpmi_command} or return; if (!clean_process($match)) { - dump_cache_par($run); die "FATAL $program_name: Could not have urpmi working !"; } } -- cgit v1.2.1