Bug ID 975777
Summary Bad options in zypper when using pt_BR locale and a package signature cannot be verified
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component libzypp
Assignee zypp-maintainers@forge.provo.novell.com
Reporter ronisbr@gmail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

When using Brazilian Portuguese locale (pt_BR), zypper provides a very strange
selection options when a package signature cannot be verified.

For example, if I try to install `flash-plugin` from Adobe repository, I get
this message:

flash-plugin-11.2.202.616-release.x86_64.rpm:
    Cabe�alho V3 DSA/SHA1 Signature, ID da chave f6777c67: NOKEY
    V3 DSA/SHA1 Signature, ID da chave f6777c67: NOKEY

flash-plugin-11.2.202.616-release.x86_64 (Adobe): Falha na verifica��o da
assinatura [4-A chave de assinatura p�blica n�o est� dispon�vel]

Interromper, repetir ou ignorar? [i/r/i] (i):

The same message when LANG is set to "C" is:

flash-plugin-11.2.202.616-release.x86_64.rpm:
    Header V3 DSA/SHA1 Signature, key ID f6777c67: NOKEY
    V3 DSA/SHA1 Signature, key ID f6777c67: NOKEY

flash-plugin-11.2.202.616-release.x86_64 (Adobe): Signature verification failed
[4-Signatures public key is not available]
Abort, retry, ignore? [a/r/i] (a): 

Notice that in "C" I have `a/r/i` options, whereas in "pt_BR" (and probably in
"pt_PT" too, which I could not test) I have `i/r/i`. Thus, it aborts the
operation every time I choose "i" and I could not find any way to ignore the
message.

The workaround is pretty simple, I just need to use:

LANG=C zypper dup

One possible way to fix this is to change the action name from "Interromper" to
"Abortar". The first is translated as "Interrupt" whereas the latter is
"Abort". Then, we, who are using "pt_BR" locale, will have [a/r/i] options as
in C locale.

------------------------------
Information about my system:

$ cat /etc/os-release 
NAME=openSUSE
VERSION="Tumbleweed"
VERSION_ID="20160405"
PRETTY_NAME="openSUSE Tumbleweed (20160405) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:20160405"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
ID_LIKE="suse"


You are receiving this mail because: