Re: Locale-Probleme, kein Euro-Glyph etc.
Michael Gutbier <migu@cgan.de> schrieb:
> "apropos" geht nicht:
> $ apropos console
> apropos: can't set the locale; make sure $LC_* and $LANG are correct
> console: nothing appropriate.
Seltsam. Bei mir kommt da ein ganzer Haufen, u.a. dselect, das sicher
bei dir auch installiert ist.
> Wie bereits beschrieben, sind alle locale-Variablen auf de_DE@euro
> gesetzt!
Wirklich, auch in deiner Shell, oder nur in deiner Planung? Was ist die
Ausgabe von "locale"?
> Im folgenden zitiere ich meine eigene Mail:
>
>> Ich habe einige Pakete installiert, die im Prinzip das Euro-Zeichen und
>> dessen Eingabe unterstützen sollten:
>>
>> euro-support, euro-support-console, euro-support-x
>> sowie (viele) X-Fonts:
>> xfonts-100dpi, xfonts-100dpi-transcoded, xfonts-75dpi,
>> xfonts-75dpi-transcoded, xfonts-a12k12, xfonts-baekmuk, xfonts-base,
>> xfonts-base-transcoded, xfonts-intl-chinese, xfonts-scalable,
>
> Obwohl ich dies erwähnte, fragte man mich hier, ob ich euro-support*
> installiert hätte.
Hast du auch gelesen, was dabei installiert wird? Es ist ja im
wesentlichen Dokumentation, was da installiert wird.
> Oder Fonts: Sind das jetzt nicht genug Fonts? ;)
>
>> diese sollten doch reichen, oder? Muss ich vielleicht die
>> xfonts-100dpi/xfonts-75dpi/xfonts-base löschen und nur die transkodierte
>> Version installiert lassen? Keine Ahnung.
>
> Diese Frage bleibt.
Bei mir sind die noch installiert.
>> * X11: welches "XkbLayout" muss ich wählen, um den Euro zu bekommen, oder
>> hat das damit gar nichts zu tun?
>
> dito
$ grep Xkb /etc/X11/XF86Config-4
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
Also nichts besonderes. Man muss halt den einzelnen Applikationen den
richtigen Font beibringen.
> Mit einer reibungslos funktionierenden Lokalisation stehen und fallen die
> Qualität und die Einsetzbarkeit von Debian. Noch scheint es weniger als
> schlecht zu funktionieren.
Hm, also hier funktioniert es. Ich hatte zwar auch am Anfang (nach einer
Neuinstallation von boot-floppies) solche "Setting locale
failed"-Probleme (es wurde dann C als Fallback verwendet), aber nach
Installation eines Paketes ging es dann. Das ist also schon ein Fehler,
vermutlich in den Dependencies bzw. Suggests/Recommends. Leider habe ich
vergessen welches Paket das war.
Gibt es eigentlich eine einfache Möglichkeit herauszufinden, welche
Pakete man aus, sagen wir, admin installiert hat? Ich habe es mal
umständlich gemacht, und ich hänge das Ergebnis mal unten an - du kannst
das mal mit deinen Selections vergleichen. Natürlich brauchst du nicht
alles installieren, was ich habe; aber wenn es irgendwie nach
localization, Konsole, font, euro etc. ausschaut, vielleicht hilft
es. (apt-cache show PAKETNAME kennst du?)
So habe ich es gemacht:
$ grep -B 3 "^Section: admin" /var/lib/dpkg/available|\
grep Package| sed -e 's/Package://g' > packages.admin
Das heisst, ich suche in der Liste aller verfügbaren Pakete nach mit
"Section: admin" beginnenden Zeilen und gebe diese samt drei
davorliegenden Zeilen aus (zwei hätten auch gereicht). Daraus wähle ich
mit dem zweiten grep die Zeilen aus, die das Wort Package erhalten, das
sieht dann so aus:
Package: quota
Package: eql
Package: pcmcia-modules-2.2.20-reiserfs
Package: ximian-setup-tools
Mit sed ersetze ich jetzt noch "Package:" durch nichts, und zwar global
(g), also nicht nur einmal: Liste aller Pakete aus der Section admin.
Nun verfüttere ich die an dpkg:
$ COLUMNS=120 dpkg -l `cat packages.admin` |grep ^ii > selections.admin
Die COLUMNS-Variable sorgt dafür, dass man die Paketnamen vollständig
lesen kann (ich hoffe), das grep wählt die installierten aus. Das selbe
noch mit base:
ii devfsd 1.3.24-1 Daemon for the device filesystem
ii pciutils 2.1.9-2 Linux PCI Utilities (for 2.[1234].x kernels)
ii psfontmgr 0.10.1.1 PostScript font manager -- part of Defoma, Debian Font Manager.
ii psmisc 20.2-2 Utilities that use the proc filesystem
ii cron 3.0pl1-72 management of regular background processing
ii libnet-perl 1.09.01-1 Implementation of Internet protocols for Perl
ii anacron 2.3-6 a cron-like program that doesn't go by time
ii grub 0.91-2 GRand Unified Bootloader
ii lphdisk 0.9-1 prepares hibernation partition for Phoenix NoteBIOS
ii menu 2.1.5-10.1 provides update-menus functions for some applications
ii ncurses-term 5.2.20020112a-5 Additional terminal type definitions
ii libnss-db 2.2-5 DB Name Service Module
ii rpm 4.0.3-4 Red Hat Package Manager
ii aptitude 0.2.10-1 curses-based apt frontend
ii apmd 3.0.2-1.15 Utilities for Advanced Power Management (APM) on laptops
ii at 3.1.8-11 Delayed job execution and batch processing
ii apt-show-source 0.06-3 Shows source-package information
ii libfam0 2.6.6.1-4 client library to control the FAM daemon
ii debconf 1.0.26 Debian configuration management system
ii logrotate 3.5.9-6 Log rotation utility
ii apt-utils 0.5.4 APT utility programs
ii defoma 0.10.1.1 Debian Font Manager -- automatic font configuration framework.
ii sudo 1.6.5p1-4 Provides limited super user privileges to specific users.
ii hdparm 4.5-1 Tune hard disk parameters for high performance.
ii mbr 1.1.5-1 Master Boot Record for IBM-PC compatible computers.
ii libwrap0 7.6-9 Wietse Venema's TCP wrappers library
ii ncurses-base 5.2.20020112a-5 Descriptions of common terminal types
ii procps 2.0.7-8 The /proc file system utilities.
ii ipchains 1.3.10-14 Network firewalling for Linux 2.2.x
ii libstdc++2.10-glibc2.2 2.95.4-1 The GNU stdc++ library
ii adduser 3.45 Add and remove users and groups
ii lilo 22.2-2 LInux LOader - The Classic OS loader can load Linux and others
ii setserial 2.17-24 Controls configuration of serial ports.
ii textutils 2.0-11 The GNU text file processing utilities.
ii ppp 2.4.1.uus-4 Point-to-Point Protocol (PPP) daemon.
ii bsdutils 2.11n-4 Basic utilities from 4.4BSD-Lite.
ii sed 3.02-8 The GNU sed stream editor.
ii passwd 20000902-8 Change and administer password and group data.
ii base-passwd 3.4.1 Debian Base System Password/Group Files
ii apt 0.5.4 Advanced front-end for dpkg
ii base-config 1.33.13 Debian base configuration package
ii util-linux 2.11n-4 Miscellaneous system utilities.
ii ifupdown 0.6.4-4 High level tools to configure network interfaces
ii fdflush 1.0.1-5 A disk-flushing program.
ii libpam-modules 0.72-35 Pluggable Authentication Modules for PAM
ii libc6 2.2.5-3 GNU C Library: Shared libraries and Timezone data
ii pcmcia-cs 3.1.31-7 PCMCIA Card Services for Linux.
ii makedev 2.3.1-57 Creates special device files in /dev.
ii ncurses-bin 5.2.20020112a-5 Terminal-related programs and man pages
ii ftp 0.17-9 The FTP client.
ii tar 1.13.25-2 GNU tar
ii modconf 0.2.42 Device Driver Configuration
ii pppconfig 2.0.14 A text menu based utility for configuring ppp.
ii gettext-base 0.10.40-3 GNU Internationalization utilities for the base system
ii gzip 1.3.2-3 The GNU compression utility.
ii klogd 1.4.1-10 Kernel Logging Daemon
ii libpam0g 0.72-35 Pluggable Authentication Modules library
ii dpkg 1.9.19 Package maintenance system for Debian
ii base-files 3.0.2 Debian base system miscellaneous files
ii findutils 4.1.7-2 utilities for finding files--find, xargs, and locate
ii shellutils 2.0.11-11 The GNU shell programming utilities.
ii slang1 1.4.4-7.2 The S-Lang programming library - runtime version.
ii tasksel 1.18 Tool for selecting tasks for installation on Debian system
ii libpam-runtime 0.72-35 Runtime support for the PAM library
ii locales 2.2.5-3 GNU C Library: National Language (locale) data [support]
ii whiptail 0.50.17-9.5 Displays user-friendly dialog boxes from shell scripts.
ii grep 2.4.2-3 GNU grep, egrep and fgrep.
ii mount 2.11n-4 Tools for mounting and manipulating filesystems.
ii e2fsprogs 1.26-3 The EXT2 file system utilities and libraries.
ii modutils 2.4.13-3 Linux module utilities.
ii sysvinit 2.84-2 System-V like init.
ii tcpd 7.6-9 Wietse Venema's TCP wrapper utilities
ii perl-base 5.6.1-7 The Pathologically Eclectic Rubbish Lister.
ii fdutils 5.3-6 Linux floppy utilities
ii libstdc++3 3.0.3-1 The GNU stdc++ library version 3
ii hostname 2.09 A utility to set/show the host name or domain name
ii login 20000902-8 System login tools
ii fileutils 4.1-9 GNU file management utilities.
ii libnewt0 0.50.17-9.5 Not Erik's Windowing Toolkit - text mode windowing with slang
ii libncurses5 5.2.20020112a-5 Shared libraries for terminal handling
ii libdb2 2.7.7.0-3.1 The Berkeley database routines (run-time files).
ii mawk 1.3.3-8 a pattern scanning and text processing language
ii netbase 4.07 Basic TCP/IP networking system
ii libreadline4 4.2a-5 GNU readline and history libraries, run-time libraries.
ii diff 2.7-28 File comparison utilities
ii bash 2.05a-5 The GNU Bourne Again SHell
ii debianutils 1.16 Miscellaneous utilities specific to Debian.
ii sysklogd 1.4.1-10 System Logging Daemon
ii kernel-image-2.4.17 custom.1.0 Linux kernel binary image for version 2.4.17.
ii kernel-image-2.4.18 custom.1.0 Linux kernel binary image for version 2.4.18.
ii libpopt0 1.6.2-7 lib for parsing cmdline parameters
Gruß, Frank
--
Frank Fürst, physikalische Biochemie, Universität Potsdam, Germany
Tel.: +49-331-977-5062 Fax: +49-331-977-5062
Reply to: