diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-10-16 15:42:19 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-10-16 15:42:19 +0000 |
commit | 14c5acc95435e7327a5460c2a2cb5a8363d0d355 (patch) | |
tree | 65cd969fcfc90aff4992ad4ba945c54480848a61 | |
parent | b46d565f9e4473bba4a6008ee738ae697c55eaf3 (diff) | |
download | urpmi-14c5acc95435e7327a5460c2a2cb5a8363d0d355.tar urpmi-14c5acc95435e7327a5460c2a2cb5a8363d0d355.tar.gz urpmi-14c5acc95435e7327a5460c2a2cb5a8363d0d355.tar.bz2 urpmi-14c5acc95435e7327a5460c2a2cb5a8363d0d355.tar.xz urpmi-14c5acc95435e7327a5460c2a2cb5a8363d0d355.zip |
make sure we generate dudf reports for transaction errors
Fixes #53690
-rwxr-xr-x | urpmi | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -673,6 +673,10 @@ my $exit_code = urpm::main_loop::run($urpm, $state, $force || urpm::msg::ask_yes_or_no("$msg$msg2"); } }, + trans_error_summary => sub { + my ($_nok, $errors) = @_; + dudf_invoke($dudf, "set_error_msg", join("\n", map { "\t$_" } @$errors)); + }, ask_yes_or_no => sub { my ($_title, $msg) = @_; # graphical title my $yesexpr = N("Yy"); |