Hallo zusammen,
ich habe ein Problem mit base-config und console-data, die bei einem Update installiert werden sollten.
Folgende Meldungen bekomme ich nun bei apt-get -f install:
apt-get -f install Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 2 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "de_DE:de_DE:de:en_GB:en", LC_ALL = (unset), LANG = "de_DE@euro" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up console-data (2002.12.04dbs-48ubuntu7) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "de_DE:de_DE:de:en_GB:en", LC_ALL = (unset), LANG = "de_DE@euro" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "de_DE:de_DE:de:en_GB:en", LC_ALL = (unset), LANG = "de_DE@euro" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Looking for keymap to install: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "de_DE:de_DE:de:en_GB:en", LC_ALL = (unset), LANG = "de_DE@euro" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory NONE Usage: install-keymap [ keymap_file | NONE | KERNEL ] dpkg: error processing console-data (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of base-config: base-config depends on console-data (>= 2002.12.04dbs-16); however: Package console-data is not configured yet. dpkg: error processing base-config (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: console-data base-config E: Sub-process /usr/bin/dpkg returned an error code (1)
Dazu 2 Fragen:
1. Wie wird die LC_ALL korrekt gesetzt, damit diese Meldungen verschwinden?
2. Wie wird console-data richtig konfiguriert, damit base-config korrekt installiert werden kann?
keymap ist installiert mit install-keymap.
Ich bin dabei etwas ratlos, weil mir das bisher noch nicht passiert ist.
P.S. in meinem Home-Verzeichnis gibt es eine Datei .i18n, die sieht folgendermassen aus:
LC_TELEPHONE=de_DE LC_CTYPE=de_DE LANGUAGE=de_DE:de LC_MONETARY=de_DE LC_ADDRESS=de_DE LC_COLLATE=de_DE LC_PAPER=de_DE LC_NAME=de_DE LC_NUMERIC=de_DE LC_MEASUREMENT=de_DE LC_TIME=de_DE LANG=de_DE LC_IDENTIFICATION=de_DE LC_MESSAGES=de_DE LC_ALL=de_DE
Übrigens ist diese Datei auch im Verzeichns /root zu finden.
Gruss
Manfred
[gelöst] nach googlen hab ich die Lösung gefunden: export LC_ALL=de_DE und dann apt-get -f install