summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--urpm/main_loop.pm2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 29d6f7e4..0ded4ca2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- use urpmi log API for the transaction failed message instead of
+ printing it on the console so that installer can save each error
+ with each transaction log instead of only having a summary at end
+
Version 6.25.5 - 23 April 2009
- gurpmi:
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index f62da98f..010eeb0b 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -266,7 +266,7 @@ foreach my $set (@{$state->{transaction} || []}) {
goto install;
}
}
- print $msg;
+ $urpm->{log}($msg);
++$nok;
push @errors, @l;