summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-06 19:44:08 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-06 19:44:08 +0000
commit390a8c465f8c4c781e61eaa9db447dd792d65ea2 (patch)
treebb7d1e235df005a0cc3b0bd1320573bc4ad2b3de /urpm
parent4004d5998d1c6dc034ffddfbc5aa4637d1f9cac9 (diff)
downloadurpmi-390a8c465f8c4c781e61eaa9db447dd792d65ea2.tar
urpmi-390a8c465f8c4c781e61eaa9db447dd792d65ea2.tar.gz
urpmi-390a8c465f8c4c781e61eaa9db447dd792d65ea2.tar.bz2
urpmi-390a8c465f8c4c781e61eaa9db447dd792d65ea2.tar.xz
urpmi-390a8c465f8c4c781e61eaa9db447dd792d65ea2.zip
(already_installed) fix already installed noarch packages are listed
twice on x86_64 (mga#4038)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/select.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 133eb274..d6e7737b 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -533,7 +533,7 @@ sub unselected_packages {
#- misc functions to help finding ask_unselect and ask_remove elements with their reasons translated.
sub already_installed {
my ($state) = @_;
- map { scalar $_->fullname } values %{$state->{rejected_already_installed} || {}};
+ uniq(map { scalar $_->fullname } values %{$state->{rejected_already_installed} || {}});
}
sub translate_already_installed {