From 8b43dffc7df05b38db05eff63801be88b89d62d2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 6 Mar 2007 11:20:54 +0000 Subject: (perform_installation) display missing packages on console per transaction --- Rpmdrake/pkg.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index e3f46f01..e7261e92 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -601,6 +601,8 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( #- check for local files. if (my @missing = grep { m|^/| && ! -e $_ } values %transaction_sources_install, values %transaction_sources) { + print N("Installation failed, some files are missing:\n%s\nYou may want to update your urpmi database", + join "\n", map { s|([^:]*://[^/:\@]*:)[^/:\@]*(\@.*)|$1xxxx$2|; " $_" } @missing), "\n"; next; } -- cgit v1.2.1