aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Urpmi.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-12-10 20:50:42 +0000
committerPascal Terjan <pterjan@mageia.org>2012-12-10 20:50:42 +0000
commitc24757c923841de1901501b227d1411eafefc4e4 (patch)
tree61022c6dfb5831a6cdb7946544aef5cc0683416e /lib/Iurt/Urpmi.pm
parent80a8c36ba24372b0dcf0b893228e72f7e69940fd (diff)
downloadiurt-c24757c923841de1901501b227d1411eafefc4e4.tar
iurt-c24757c923841de1901501b227d1411eafefc4e4.tar.gz
iurt-c24757c923841de1901501b227d1411eafefc4e4.tar.bz2
iurt-c24757c923841de1901501b227d1411eafefc4e4.tar.xz
iurt-c24757c923841de1901501b227d1411eafefc4e4.zip
Get rid of cache
Diffstat (limited to 'lib/Iurt/Urpmi.pm')
-rw-r--r--lib/Iurt/Urpmi.pm5
1 files changed, 1 insertions, 4 deletions
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 !";
}
}