summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-09 10:31:55 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-09 10:31:55 +0000
commit471d4820187e956e4ba264ba18ced708951edec1 (patch)
tree34eb60e56c43a79dc30d46f80816ae09d818443f /perl-install/install
parent98719ec16b6be91313351dd47d59ee3c58bd686e (diff)
downloaddrakx-471d4820187e956e4ba264ba18ced708951edec1.tar
drakx-471d4820187e956e4ba264ba18ced708951edec1.tar.gz
drakx-471d4820187e956e4ba264ba18ced708951edec1.tar.bz2
drakx-471d4820187e956e4ba264ba18ced708951edec1.tar.xz
drakx-471d4820187e956e4ba264ba18ced708951edec1.zip
(_install_raw) log failed transactions summary
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/pkgs.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 9f37ca4f7..e3f9f4cfa 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,6 +1,7 @@
- package installation:
o ask for retry
o log bogus signatures
+ o log failed transactions summary
Version 12.8 - 6 March 2009
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index d1387214b..234f1b54e 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -764,6 +764,7 @@ sub _install_raw {
trans_error_summary => sub {
my ($nok, $errors) = @_;
log::l($nok . " installation transactions failed");
+ log::l(join("\n", @$errors));
if (!$packages->{options}{auto}) {
$::o->ask_warn(N("Error"), N("%d installation transactions failed", $nok) . "\n\n" .
N("Installation of packages failed:") . "\n\n" . join("\n", @$errors));