[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 <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libzypp |Translations Assignee|zypp-maintainers@forge.prov |ke@suse.com |o.novell.com | QA Contact|qa-bugs@suse.de |ke@suse.com --- Comment #1 from Michael Andres <ma@suse.com> --- The same in all SLE12 branches: http://svn.opensuse.org/svn/opensuse-i18n/ Branches: SLE12 / SLE12-SP1 / SLE12-SP2 FILE: lcn/de/po/zypper.pt_BR.po
#. 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 <ronisbr@gmail.com> --- Yes, that's why I think it is better to change: Interromper, repetir ou ignorar? [i/r/i] (i): to Abortar, repetir ou ignorar? [a/r/i] (a): Is there anything I can do to fix it? -- 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#c3 Marcelo Junior <marceloatie@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marceloatie@gmail.com --- Comment #3 from Marcelo Junior <marceloatie@gmail.com> --- Created attachment 679382 --> http://bugzilla.opensuse.org/attachment.cgi?id=679382&action=edit Print-screen showing the error -- 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#c4 Marcelo Junior <marceloatie@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #4 from Marcelo Junior <marceloatie@gmail.com> --- I can confirm this on Tumbleweed and 42.1 -- 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#c5 Luiz Fernando Ranghetti <elchevive68@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |elchevive68@gmail.com --- Comment #5 from Luiz Fernando Ranghetti <elchevive68@gmail.com> --- Hi, pt_BR community translator coordinator here. This bug comes from the in-house translations, community ones didn't have this. Now that zypper translations uses the same branch, I'm reviewing the translations on weblate before the next round of in-house translations so this is fixed on next versions of zypper: https://l10n.opensuse.org/translate/zypper/master/pt_BR/?sid=98ffa652-36f0-11e6-85d1-525400a48651&offset=3 Regards -- 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#c6 --- Comment #6 from Luiz Fernando Ranghetti <elchevive68@gmail.com> --- @Ronan and Marcelo, Can you confirm it still happens on Tumbleweed? I changed the translation back to "cancelar/repetir/ignorar" as it always was on comunity translation. @SUSE guys, This is probably fixed in the to be released SLE12-SP2 if uses new zypper, but happens on older releases. As a side note, I saw that the paid translations changed back one translation from "cancelar" to "interromper" like this: https://l10n.opensuse.org/translate/zypper/master/pt_BR/?checksum=a1978fadfc... As I don't have commit access to weblate for that file I can't change it back. -- 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#c7 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shane.wims@microfocus.com Blocks| |1004064 Flags| |needinfo?(shane.wims@microf | |ocus.com) --- Comment #7 from Karl Eichwalder <ke@suse.com> --- Shane, can you please also check it (esp. for pt_BR)? It's rather fragile. I think we fixed it for several languages lately. I do not remember whether it was on Leap or SLE. -- 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#c8 --- Comment #8 from Luiz Fernando Ranghetti <elchevive68@gmail.com> --- Created attachment 696821 --> http://bugzilla.opensuse.org/attachment.cgi?id=696821&action=edit The bug is fixed on Tumbleweed -- 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#c11 Luiz Fernando Ranghetti <elchevive68@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #11 from Luiz Fernando Ranghetti <elchevive68@gmail.com> --- Fixed in both Leap 42.3 and Tumbleweed -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com