diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 13:37:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 13:37:16 +0000 |
commit | 3a1ac9ecef28c35caf46eed160b03725bf9161fc (patch) | |
tree | 876536a4b1963c34a6cc18d090c0449189591fc5 | |
parent | e94dbfd23f1578fee0a05ad34ecf51b95c69c6bd (diff) | |
download | urpmi-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-- | NEWS | 1 | ||||
-rw-r--r-- | urpm/select.pm | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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; } |