summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xurpmi2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 74d65080..306d5b80 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpmi
+ o [bugfix] fix plural handling in "Packages foo can not be installed" (#31229)
+
Version 4.9.21.3 - 4 June 2007, by Pascal "Pixel" Rigaux
- urpmi
diff --git a/urpmi b/urpmi
index d0da2caf..631b818b 100755
--- a/urpmi
+++ b/urpmi
@@ -839,7 +839,7 @@ if ($nok) {
N("Package %s is already installed",join(', ', @installed))
: N("Packages %s are already installed", join(', ', @installed));
my @msg2 = @error == 0 ? () :
- (@errors == 1) ?
+ (@error == 1) ?
N("Package %s can not be installed", join(', ', @error))
: N("Packages %s can not be installed", join(', ', @error));
print join("\n", @msg1, @msg2, '');