aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Urpmi.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt/Urpmi.pm')
-rw-r--r--lib/Iurt/Urpmi.pm7
1 files changed, 6 insertions, 1 deletions
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 !";