From 3f28445fdfa9a063db48a022a100b365429d666f Mon Sep 17 00:00:00 2001 From: Marcelo Leitner Date: Mon, 12 Nov 2007 09:36:39 +0000 Subject: - Put some more debugging into command execution process. - Lowered free disk space tolerance from 100% to 99%, as 100% could be too late. --- lib/Iurt/Urpmi.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/Iurt/Urpmi.pm') diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 563a879..4de91b4 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -455,7 +455,11 @@ sub install_packages { # returning false problem on deps installation, try # to compile anyway - @missing_deps or return 1; + if (!@missing_deps){ + plog ('DEBUG', 'missing_deps is empty, aborting.'); + plog ('DEBUG', "output had: __ $output __"); + return 1; + } $unsatisfied = 1; while (my $missing_package = shift @missing_deps) { @@ -492,6 +496,7 @@ sub install_packages { 0; }, )) { + plog ('DEBUG', "urpmi command failed."); if (!clean_process($run, "$self->{urpmi_command} $opt @to_install", $run->{verbose})) { dump_cache_par($run); die "FATAL $program_name: Could not have urpmi working !"; -- cgit v1.2.1