PDA

View Full Version : [ubuntu] console-setup.config: line 1158: ISO-8859-15 command not found



macsaver
March 25th, 2009, 04:46 PM
Hello Forum,

every time I work with apt I got this error message and an error code 127. I removed the package and reinstalled it - generated the locales again but nothing helps - any ideas?

Thanks in advance.

macsaver

rjl6591
March 25th, 2009, 05:11 PM
Can you please show us exactly what you are trying to do?

Tip: you can record an interactive command-line session to a file by typing "script logfile" before the session, and typing Control-D when you've finished. If you then paste the logfile here we can see what you're doing.

macsaver
March 25th, 2009, 05:45 PM
hi this is my last step - I removed console-setup completely with apt-get --purge remove console-setup
This is the output of apt-get install console-setup:

apt-get install console-setup
Paketlisten werden gelesen... Fertig
Abh?ngigkeitsbaum wird aufgebaut
Reading state information... Fertig
Die folgenden NEUEN Pakete werden installiert:
console-setup
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 10 nicht aktualisiert.
Es m?ssen noch 0B von 468kB Archiven geholt werden.
After this operation, 1294kB of additional disk space will be used.
Vorkonfiguration der Pakete ...
/tmp/console-setup.config.200371: line 1158: ISO-8859-15: command not found
console-setup konnte nicht vorkonfiguriert werden, Exit-Status 127
W?hle vormals abgew?hltes Paket console-setup.
(Lese Datenbank ... 135643 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke console-setup (aus .../console-setup_1.21ubuntu9_all.deb) ...
Richte console-setup ein (1.21ubuntu9) ...
/var/lib/dpkg/info/console-setup.config: line 1158: ISO-8859-15: command not found
dpkg: Fehler beim Bearbeiten von console-setup (--configure):
Unterprozess post-installation script gab den Fehlerwert 127 zur?ck
Fehler traten auf beim Bearbeiten von:
console-setup
E: Sub-process /usr/bin/dpkg returned an error code (1)

locale -a output is:
C
de_DE
de_DE@euro
de_DE.utf8
en_US.utf8
POSIX

Hope this helps

macsaver
March 25th, 2009, 06:06 PM
Solved the problem by setting all Language Vars manually - after that I could reinstall console-setup and now everything is fine

Thanks anyway