[Bug 975777] New: Bad options in zypper when using pt_BR locale and a package signature cannot be verified
http://bugzilla.opensuse.org/show_bug.cgi?id=975777 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: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=975777
http://bugzilla.opensuse.org/show_bug.cgi?id=975777#c1
Michael Andres
#. translators: "a/r/i" are the answers to the #. "Abort, retry, ignore?" prompt #. Translate the letters to whatever is suitable for your language. #. the answers must be separated by slash characters '/' and must #. correspond to abort/retry/ignore in that order. #. The answers should be lower case letters. #: src/utils/prompt.cc:179 src/utils/prompt.cc:267 msgid "a/r/i" msgstr "i/r/i"
Can't use the same shortcut for different answers. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=975777
http://bugzilla.opensuse.org/show_bug.cgi?id=975777#c2
--- Comment #2 from Ronan Chagas
http://bugzilla.opensuse.org/show_bug.cgi?id=975777
http://bugzilla.opensuse.org/show_bug.cgi?id=975777#c3
Marcelo Junior
http://bugzilla.opensuse.org/show_bug.cgi?id=975777
http://bugzilla.opensuse.org/show_bug.cgi?id=975777#c4
Marcelo Junior
http://bugzilla.opensuse.org/show_bug.cgi?id=975777
http://bugzilla.opensuse.org/show_bug.cgi?id=975777#c5
Luiz Fernando Ranghetti
http://bugzilla.opensuse.org/show_bug.cgi?id=975777
http://bugzilla.opensuse.org/show_bug.cgi?id=975777#c6
--- Comment #6 from Luiz Fernando Ranghetti
http://bugzilla.opensuse.org/show_bug.cgi?id=975777
http://bugzilla.opensuse.org/show_bug.cgi?id=975777#c7
Karl Eichwalder
http://bugzilla.opensuse.org/show_bug.cgi?id=975777
http://bugzilla.opensuse.org/show_bug.cgi?id=975777#c8
--- Comment #8 from Luiz Fernando Ranghetti
http://bugzilla.opensuse.org/show_bug.cgi?id=975777
http://bugzilla.opensuse.org/show_bug.cgi?id=975777#c11
Luiz Fernando Ranghetti
participants (1)
-
bugzilla_noreply@novell.com