summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-13 13:37:16 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-13 13:37:16 +0000
commit3a1ac9ecef28c35caf46eed160b03725bf9161fc (patch)
tree876536a4b1963c34a6cc18d090c0449189591fc5
parente94dbfd23f1578fee0a05ad34ecf51b95c69c6bd (diff)
downloadurpmi-3a1ac9ecef28c35caf46eed160b03725bf9161fc.tar
urpmi-3a1ac9ecef28c35caf46eed160b03725bf9161fc.tar.gz
urpmi-3a1ac9ecef28c35caf46eed160b03725bf9161fc.tar.bz2
urpmi-3a1ac9ecef28c35caf46eed160b03725bf9161fc.tar.xz
urpmi-3a1ac9ecef28c35caf46eed160b03725bf9161fc.zip
(translate_why_removed_one) if we got back an explanation unknown of
use, just report it back
-rw-r--r--NEWS1
-rw-r--r--urpm/select.pm2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ec3546c2..e6ea5c78 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
commit on 2006-01-11 13:17)
o do try to umount removable media when using --debug (fixing
rafel's commit r15048 on 2005-06-09)
+ o try harder to explain why a package is removed
o try harder to explain why we cannot select a package (eg: because
i586 package is already installed on x86_64)
diff --git a/urpm/select.pm b/urpm/select.pm
index e46d2c24..0300395e 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -488,6 +488,8 @@ sub translate_why_removed_one {
N("due to conflicts with %s", $whyv);
} elsif ($whyk =~ /unrequested/) {
N("unrequested");
+ } elsif ($whyk) {
+ $whyk;
} else {
undef;
}