Bugzilla – Bug 1185394
[AutoYaST] Annoying error reporting when specifying an unsupported language
Last modified: 2021-06-02 10:15:05 UTC
Example 4.24: Language :
throws the error
Language 'en_GB' was not found within the list of supported languages
Fallback language 'en_US' will be used
this post seems to have the same problem using the normal yast gui after installation
Tested for Opensuse 15.2
Thank you for reporting this bug!
It is being tracked and processed as part of our queue.
Hello Imobach, this section is also present in the SLES guides. Can you answer this? Thanks!
It worked for me. virtomize, please, could you share your profile? Attaching YaST2 logs will be useful too. See https://en.opensuse.org/openSUSE:Report_a_YaST_bug#Attachments_-_y2logs.2C_hwinfo_etc.
Thank you, Imobach. It also works for me. I will leave this open until next Wednesday, and then close or re-assign it if there is no more activity. I am pretty sure this is not a doc bug.
Re-assigning to AutoYaST, if I can help you know where to find me!
Ok, the report is misleading. The forum thread is about setting 'en_AU' - which
is indeed not a supported primary language.
That said, I'm not exactly sure what the purpose of that 'Details' button is
if it invariably leads to an error popup. After all, if your language *is*
listed in the primary language dropdown you'd not click there.
And despite showing the error *twice* in the workflow (which is even more
annoying) it modifies at least /etc/sysconfig/language::INSTALLED_LANGUAGES -
so it does do something even though showing an error box.
My suggestion would be to change the workflow to
a) not make it an error clicking on 'Details' and selecting a non-primary locale
b) show a dialog explaining what it means in a non-alarmist manner
c) show the dialog only once (not again during the commit phase)
That said, I can also not confirm it for en_GB and the autoyast case.
So, if you see it with autoyast, please provide yast logs.
To collect log files run 'save_y2logs' and attach the log file archive this
command creates (usually named /tmp/y2log-SOMETHING.tar.xz).
If the installation (more or less) succeeded and you can access the
installed system, you can collect the logs there.
Else you have these options to collect the logs from the installation
- there's a shell running on consoles 5 and 6 during installation
- get a console window by pressing Ctrl-Shift-Alt-x in the installer's
- if you can't reach neither or you're on a serial line or you're doing
autoyast: boot with 'startshell=1' which will give you a shell before and
*after* the installer runs; to continue the regular installation workflow
just exit this shell
If you're unsure what to do, please have a look at
So, in the end, it looks like the real problem is that the error reporting is rather annoying. Actually, in openSUSE 15.3 and SLE 15 SP3 the problem is reported only during the 1st stage. I have created a Trello card to tack this problem. See https://trello.com/c/QXruNpGf/