Problem mit locale

Hallo,

ich habe ein Basissystem für Tests installiert mit folgenden Sprachen.

Sprache: englisch
Tastatur: deutsch
ZeitZone: deutsch/Berlin

Nun habe ich folgendes Phänomen.
Bei ucr dump wird es richtig angezeigt und beim Aufruf von locale wird de_LI:UTF-8 angezeigt (wurde nie ausgewählt).

Wenn ich jetzt ein dpkg-reconfigure locales mache und alles richtig auswähle, dann funktioniert es.
Allerdings nach einem reboot ist Alles beim Alten.

Die Folge dessen ist, das ich keine UTF-8 Datenbank (Postgres anlegen kann) und immer Fehler bezüglich lacale kommen.

Gibt es noch einen weiteren Knopf an dem ich stellen kann und der das beseitigt?

Vielen dank für Eure Hilfe.

Viele Grüße

rrbs

Hallo,

ich kann das von Ihnen beschriebene Verhalten mit einer standard Installation nicht nachstellen. Können Sie uns für die weitere Analyse mehr Informationen zukommen lassen?

[ul]
[li]Mit welchem Medium wurde die Installation durchgeführt?[/li]
[li]Wurde die md5sum des Mediums, bspw. nach dem Download geprüft?[/li]
[li]Die UCR Locale Konfiguration? ucr search locale[/li]
[li]Die Vollständige Ausgabe des Befehls? locale[/li]
[li]In den folgenden Dateien sollte zu ersehen sein welche locales ausgewählt wurden: /etc/univention/installation_profile,
/var/log/univention/installation.log, /var/log/univention/installer.log
[/li][/ul]
Mit freundlichen Grüßen
Murat Odabas

Hallo Murat,

ucr search locale:

[code]locale/default: en_US.UTF-8:UTF-8
Default localisation (Interface language, character sets, etc.)

locale/keymap: de-latin1
Keyboard layout

locale: en_US.UTF-8:UTF-8
Installed localisation data (Interface language, character sets, etc.)[/code]

Das schein soweit i.O. zu sein.
Auch die Ausgabe bei ucr dump ist ok.

locale/default: en_US.UTF-8:UTF-8 locale/keymap: de-latin1 locale: en_US.UTF-8:UTF-8

locale:

LANG=en_US.UTF-8 LC_CTYPE="de_LI.UTF-8" LC_NUMERIC="de_LI.UTF-8" LC_TIME="de_LI.UTF-8" LC_COLLATE="de_LI.UTF-8" LC_MONETARY="de_LI.UTF-8" LC_MESSAGES="de_LI.UTF-8" LC_PAPER="de_LI.UTF-8" LC_NAME="de_LI.UTF-8" LC_ADDRESS="de_LI.UTF-8" LC_TELEPHONE="de_LI.UTF-8" LC_MEASUREMENT="de_LI.UTF-8" LC_IDENTIFICATION="de_LI.UTF-8" LC_ALL=de_LI.UTF-8

Wo nun das de_LI.UTF-8 herkommt, hab ich keine Ahnung auch gibt es immer folgende Fehlermeldung:
Wenn diese nicht installiert ist (nach Installation) kommen ständig Fehlermeldungen.
Ich habe dann einfach de_LI.UTF-8 nachinstalliert, so das die Fehler weg waren.
Wenn ich allerdings die locale händisch verändere wird sie dennoch bei Neustart wieder überschrieben.

Bei alles us oder alles de bei der Installation gibt es das Problem nicht.

Vielen Dank.

Ralf

Hallo,

können Sie uns bitte noch die folgenden Fragen beantworten?

[ul]
[li] Mit welchem Medium wurde die Installation durchgeführt?[/li]
[li] Wurde die md5sum des Mediums, bspw. nach dem Download geprüft?[/li]
[li] In den folgenden Dateien sollte zu ersehen sein welche locales ausgewählt wurden:
/etc/univention/installation_profile
/var/log/univention/installation.log
/var/log/univention/installer.log[/li][/ul]
Sie können in den Dateien nach “locale” suchen und die Ausgabe hier posten, bspw.:

# grep -i locale /etc/univention/installation_profile
# zgrep -i locale /var/log/univention/installer.log.gz /var/log/univention/installation.log.gz

Alternativ können Sie die Dateien auch an feedback@univention.de senden.

Mit freundlichen Grüßen
Murat Odabas

Hallo,

[list]
[*] Mit welchem Medium wurde die Installation durchgeführt?
vom iso-File wurde installiert.

[*] Wurde die md5sum des Mediums, bspw. nach dem Download geprüft?
Ja wurde gemacht und ist alles OK.

grep -i locale /etc/univention/installation_profile

locale_default='en_US.UTF-8:UTF-8'
locales='en_US.UTF-8:UTF-8'

zgrep -i locale /var/log/univention/installer.log.gz /var/log/univention/installation.log.gz

/var/log/univention/installer.log.gz:No 'installer' locale found
/var/log/univention/installer.log.gz:NETWORK:264: all_results={'call_master_joinscripts': 'true', 'domainname': 'vm.devel.local', 'bootloader_record': '/dev/sda', 'ldap_base': '', 'system_role': 'basesystem', 'timezone': 'Europe/Berlin', 'cdrom_device': '/dev/sr0', 'hostname': 'test-ref', 'locale_default': 'en_US.UTF-8:UTF-8', 'dev_1': 'PHY /dev/sda1 0 0 ext3 0.032256M 320.785408M /boot boot', 'dev_0': 'LVM /dev/vg_ucs/rootfs LVMLV 0 ext3 0.0M 9147.777024M / None', 'dev_3': 'PHY /dev/sda3 0 0 None 1373.62176M 10733.989888M None lvm', 'dev_2': 'PHY /dev/sda2 0 0 linux-swap 320.78592M 1373.621248M None None', 'ox_primary_maildomain': '', 'boot_partition': '', 'windows_domain': 'TEST', 'root_password': 'start123', 'locales': 'en_US.UTF-8:UTF-8', 'language': 'en', 'disks': '/dev/sda', 'fqdn': 'test-ref.vm.devel.local', 'keymap': 'de-latin1'}
/var/log/univention/installer.log.gz:OVERVIEW: all_results={'': '', 'eth0_broadcast': 'xxx.xxx.xxx.xxx', 'call_master_joinscripts': 'true', 'domainname': 'vm.devel.local', 'bootloader_record': '/dev/sda', 'ldap_base': '', 'system_role': 'basesystem', 'timezone': 'Europe/Berlin', 'cdrom_device': '/dev/sr0', 'gateway': 'xxx.xxx.xxx.xxx', 'root_password': 'start123', 'eth0_type': '', 'hostname': 'test-ref', 'dns_forwarder_1': 'xxx.xxx.xxx.xxx', 'dns_forwarder_2': '', 'dns_forwarder_3': '', 'eth0_acceptra': 'false', 'locale_default': 'en_US.UTF-8:UTF-8', 'dev_1': 'PHY /dev/sda1 0 0 ext3 0.032256M 320.785408M /boot boot', 'dev_0': 'LVM /dev/vg_ucs/rootfs LVMLV 0 ext3 0.0M 9147.777024M / None', 'eth0_ip': 'xxx.xxx.xxx.xxx', 'dev_2': 'PHY /dev/sda2 0 0 linux-swap 320.78592M 1373.621248M None None', 'ox_primary_maildomain': '', 'boot_partition': '', 'nameserver_1': 'xxx.xxx.xxx.xxx', 'nameserver_3': '', 'nameserver_2': '', 'eth0_prefix6': '', 'eth0_ip6': '', 'eth0_netmask': '255.255.255.0', 'packages': '', 'locales': 'en_US.UTF-8:UTF-8', 'windows_domain': 'TEST', 'language': 'en', 'disks': '/dev/sda', 'fqdn': 'test-ref.vm.devel.local', 'gateway6': '', 'keymap': 'de-latin1', 'dev_3': 'PHY /dev/sda3 0 0 None 1373.62176M 10733.989888M None lvm', 'eth0_network': 'xxx.xxx.xxx.xxx', 'proxy_http': ''}
/var/log/univention/installer.log.gz:OVERVIEW: all_results={'': '', 'eth0_broadcast': 'xxx.xxx.xxx.xxx', 'call_master_joinscripts': 'true', 'domainname': 'vm.devel.local', 'bootloader_record': '/dev/sda', 'ldap_base': '', 'system_role': 'basesystem', 'timezone': 'Europe/Berlin', 'cdrom_device': '/dev/sr0', 'gateway': 'xxx.xxx.xxx.xxx', 'root_password': 'start123', 'eth0_type': '', 'hostname': 'test-ref', 'dns_forwarder_1': 'xxx.xxx.xxx.xxx, 'dns_forwarder_2': '', 'dns_forwarder_3': '', 'eth0_acceptra': 'false', 'locale_default': 'en_US.UTF-8:UTF-8', 'dev_1': 'PHY /dev/sda1 0 0 ext3 0.032256M 320.785408M /boot boot', 'dev_0': 'LVM /dev/vg_ucs/rootfs LVMLV 0 ext3 0.0M 9147.777024M / None', 'eth0_ip': 'xxx.xxx.xxx.xxx', 'dev_2': 'PHY /dev/sda2 0 0 linux-swap 320.78592M 1373.621248M None None', 'ox_primary_maildomain': '', 'boot_partition': '', 'nameserver_1': 'xxx.xxx.xxx.xxx', 'nameserver_3': '', 'nameserver_2': '', 'eth0_prefix6': '', 'eth0_ip6': '', 'eth0_netmask': '255.255.255.0', 'packages': '', 'locales': 'en_US.UTF-8:UTF-8', 'windows_domain': 'TEST', 'language': 'en', 'disks': '/dev/sda', 'fqdn': 'test-ref.vm.devel.local', 'gateway6': '', 'keymap': 'de-latin1', 'dev_3': 'PHY /dev/sda3 0 0 None 1373.62176M 10733.989888M None lvm', 'eth0_network': 'xxx.xxx.xxx.xxx', 'proxy_http': ''}
/var/log/univention/installer.log.gz:No 'installer' locale found
/var/log/univention/installer.log.gz:PROGRESS: calling /sbin/locale-gen 2>&1 >> /tmp/installer.log
/var/log/univention/installer.log.gz:Generating locales (this might take a while)...
/var/log/univention/installer.log.gz:PROGRESS: script /lib/univention-installer-scripts.d/87_locales.sh ==> 0.5%
/var/log/univention/installation.log.gz:I: Retrieving liblocale-gettext-perl
/var/log/univention/installation.log.gz:I: Validating liblocale-gettext-perl
/var/log/univention/installation.log.gz:I: Extracting liblocale-gettext-perl...
/var/log/univention/installation.log.gz:I: Unpacking liblocale-gettext-perl...
/var/log/univention/installation.log.gz:I: Configuring liblocale-gettext-perl...
/var/log/univention/installation.log.gz:  libxi6 libxinerama1 libxml2 libxpm4 libxrandr2 libxrender1 libxt6 locales
/var/log/univention/installation.log.gz:  bzip2-doc unicode-data kbd-compat cpp-doc gcc-4.4-locales dbus-x11
/var/log/univention/installation.log.gz:  libxi6 libxinerama1 libxml2 libxpm4 libxrandr2 libxrender1 libxt6 locales
/var/log/univention/installation.log.gz:  python-ipaddr rsyslog bash-completion locales libbsd0 rdate acl libreadline5
/var/log/univention/installation.log.gz:Selecting previously deselected package locales.
/var/log/univention/installation.log.gz:Unpacking locales (from .../locales_2.11.2-10.7.201104250653_all.deb) ...
/var/log/univention/installation.log.gz:Setting up locales (2.11.2-10.7.201104250653) ...
/var/log/univention/installation.log.gz:Generating locales (this might take a while)...
/var/log/univention/installation.log.gz:File: /etc/locale.gen
/var/log/univention/installation.log.gz:Module: set_locale
/var/log/univention/installation.log.gz:Generating locales (this might take a while)...
/var/log/univention/installation.log.gz:File: /etc/default/locale
/var/log/univention/installation.log.gz:Generating locales (this might take a while)...
/var/log/univention/installation.log.gz:Generating locales (this might take a while)...
/var/log/univention/installation.log.gz:Create locale
/var/log/univention/installation.log.gz:Module: set_locale
/var/log/univention/installation.log.gz:Module: set_locale
/var/log/univention/installation.log.gz:File: /etc/locale.gen
/var/log/univention/installation.log.gz:Generating locales (this might take a while)...
/var/log/univention/installation.log.gz:Generating locales (this might take a while)...
/var/log/univention/installation.log.gz:Create locale/default
/var/log/univention/installation.log.gz:File: /etc/default/locale
/var/log/univention/installation.log.gz:Module: set_locale
/var/log/univention/installation.log.gz:Module: set_locale
/var/log/univention/installation.log.gz:File: /etc/locale.gen
/var/log/univention/installation.log.gz:Generating locales (this might take a while)...
/var/log/univention/installation.log.gz:Generating locales (this might take a while)...
/var/log/univention/installation.log.gz:Create locale/keymap
/var/log/univention/installation.log.gz:File: /etc/locale.gen
/var/log/univention/installation.log.gz:Module: set_locale
/var/log/univention/installation.log.gz:Module: set_locale
/var/log/univention/installation.log.gz:Generating locales (this might take a while)...
/var/log/univention/installation.log.gz:File: /etc/default/locale
/var/log/univention/installation.log.gz:File: /etc/locale.gen
/var/log/univention/installation.log.gz:Module: set_locale
/var/log/univention/installation.log.gz:Generating locales (this might take a while)...
/var/log/univention/installation.log.gz:File: /etc/locale.gen
/var/log/univention/installation.log.gz:File: /etc/default/locale
/var/log/univention/installation.log.gz:Module: set_locale
/var/log/univention/installation.log.gz:PROGRESS: script /lib/univention-installer-scripts.d/87_locales.sh
/var/log/univention/installation.log.gz:PROGRESS: calling /bin/sh /lib/univention-installer-scripts.d/87_locales.sh < /dev/tty1 2>&1 | tee -a /instmnt/var/log/univention/installation.log > /dev/tty6
/var/log/univention/installation.log.gz:Generating locales (this might take a while)
/var/log/univention/installation.log.gz:PROGRESS: script /lib/univention-installer-scripts.d/87_locales.sh done

hier die Ausgabe von

env

TERM=rxvt
SHELL=/bin/bash
SSH_CLIENT=xxx.xxx.xxx.xxx 54446 22
SSH_TTY=/dev/pts/0
LC_ALL=de_LI.UTF-8
USER=root
MAIL=/var/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/opt/scalix/bin
LC_MESSAGES=de_LI.UTF-8
PWD=/root
LANG=en_US.UTF-8
PS1=\u@\h:\w\$ 
SHLVL=1
HOME=/root
LOGNAME=root

locale

LANG=en_US.UTF-8
LC_CTYPE="de_LI.UTF-8"
LC_NUMERIC="de_LI.UTF-8"
LC_TIME="de_LI.UTF-8"
LC_COLLATE="de_LI.UTF-8"
LC_MONETARY="de_LI.UTF-8"
LC_MESSAGES="de_LI.UTF-8"
LC_PAPER="de_LI.UTF-8"
LC_NAME="de_LI.UTF-8"
LC_ADDRESS="de_LI.UTF-8"
LC_TELEPHONE="de_LI.UTF-8"
LC_MEASUREMENT="de_LI.UTF-8"
LC_IDENTIFICATION="de_LI.UTF-8"
LC_ALL=de_LI.UTF-8

Viele Grüße

rrbs

Hallo,

ich kann das Verhalten hier weiterhin nicht reproduzieren. Für das weitere Vorgehen würde ich gerne ein annähernd gleiches System installieren und das Verhalten an diesem nochmal analysieren.

Bitte posten Sie einmal den genauen Namen des verwendeten ISO Images (mit dem das 3.0 Basissystem installiert wurde) und die vollständige Profile-Datei (/etc/univention/installation_profile).

Alternativ können Sie die Dateien auch an feedback@univention.de senden.

Mit freundlichen Grüßen
Murat Odabas

I have the same problem with the ru_RU.utf-8 locale

Installed from USB-Flash. The image was recorded in ultraISO.

sudo dpkg-reconfigure console-setup
through the command I select UTF-8 then “Cyrillic” after that, instead of squares, Russian characters appear.

But after the reboot, sleepy squares.

This does not reset the settings in sudo dpkg-reconfigure console-setup. I just select an item that is already selected

I install on

Installing this image:

[image] https://updates.software-univention.de/download/images/UCS-Installation-amd64.iso

Help me please

I noticed this feature on the screen Alt-F2, F-3, etc. Russian characters are displayed. and on Alt-F1 there are squares and the font is slightly thicker.

Mastodon