aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Urpmi.pm
diff options
context:
space:
mode:
authorMarcelo Leitner <mrl@mandriva.com>2007-11-12 09:36:39 +0000
committerMarcelo Leitner <mrl@mandriva.com>2007-11-12 09:36:39 +0000
commit3f28445fdfa9a063db48a022a100b365429d666f (patch)
tree49396851b4659bb294d67e7e57614e107bf0bde8 /lib/Iurt/Urpmi.pm
parentd5cf6dd9c5a5e191f2e6b6e2c4f7ec0f77c77647 (diff)
downloadiurt-3f28445fdfa9a063db48a022a100b365429d666f.tar
iurt-3f28445fdfa9a063db48a022a100b365429d666f.tar.gz
iurt-3f28445fdfa9a063db48a022a100b365429d666f.tar.bz2
iurt-3f28445fdfa9a063db48a022a100b365429d666f.tar.xz
iurt-3f28445fdfa9a063db48a022a100b365429d666f.zip
- Put some more debugging into command execution process.
- Lowered free disk space tolerance from 100% to 99%, as 100% could be too late.
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 !";