diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-03-05 15:13:54 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-03-05 15:13:54 +0000 |
commit | a61052a8adff1707a3b8562bf287fc608c7bd709 (patch) | |
tree | d4dfb18a57c33a693ceff1d31348a2077216fb91 | |
parent | 8821fdb934dba7fba9acefae724943d1b5ce4b74 (diff) | |
download | rpmdrake-a61052a8adff1707a3b8562bf287fc608c7bd709.tar rpmdrake-a61052a8adff1707a3b8562bf287fc608c7bd709.tar.gz rpmdrake-a61052a8adff1707a3b8562bf287fc608c7bd709.tar.bz2 rpmdrake-a61052a8adff1707a3b8562bf287fc608c7bd709.tar.xz rpmdrake-a61052a8adff1707a3b8562bf287fc608c7bd709.zip |
rpmdrake: when installation fails because some files are missing,
display any encountered urpmi error
-rwxr-xr-x | rpmdrake | 3 | ||||
-rw-r--r-- | rpmdrake.spec | 6 |
2 files changed, 7 insertions, 2 deletions
@@ -966,7 +966,8 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( foreach (@rpms_install, @rpms_upgrade) { m|^/| && ! -e $_ or next; interactive_msg_(N("Installation failed"), - N("Installation failed, some files are missing.\nYou may want to update your sources database.")); + N("Installation failed, some files are missing.\nYou may want to update your sources database."). + (@error_msgs ? N("\n\nError(s) reported:\n%s", join("\n", @error_msgs)) : '')); die "return 1\n"; } %{$urpm->{state}{ask_remove}} and slow_func(N("Please wait, removing packages to allow others to be upgraded..."), diff --git a/rpmdrake.spec b/rpmdrake.spec index 0f36bc7d..17aedb33 100644 --- a/rpmdrake.spec +++ b/rpmdrake.spec @@ -8,7 +8,7 @@ %define name rpmdrake %define version 2.1 -%define release 10mdk +%define release 11mdk Name: %{name} Version: %{version} @@ -116,6 +116,10 @@ rm -rf $RPM_BUILD_ROOT %{perl_vendorarch}/*.pm %changelog +* Wed Mar 5 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-11mdk +- rpmdrake: when installation fails because some files are missing, + display any encountered urpmi error + * Mon Mar 3 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-10mdk - grpmi: fix error reporting (of gpg, rpm, curl) broken in non english |