Control: reassign -1 ruby-locale 2.0.8-1
On Sun, 06 Oct 2013 17:17:28 +0200 Sven Hartge wrote: > Package: apt-listbugs > Version: 0.1.10 > Severity: normal > > Hi! Hi Sven, thanks for your bug report! > > The subject already says it all: > > [...] > After this operation, 63,5 kB of additional disk space will be used. > Do you want to continue? [Y/n] > File: /usr/share/locale/de/LC_MESSAGES/apt-listbugs.mo: unknown encoding name > - utf8 (ArgumentError) > E: Sub-process /usr/sbin/apt-listbugs apt returned an error code (1) > E: Failure running script /usr/sbin/apt-listbugs apt > > I have to remove the mentioned file to be able to use apt-listbugs > without errors again. That's awkward, I tested localization several times during the development cycle of apt-listbugs/0.1.10 and I have never found any issues (even with German localization). Anyway, the localization is handled by ruby-gettext and ruby-locale: apt-listbugs itself does not directly manage the locale environment variables or the encoding names. I am hence reassigning your bug report to ruby-locale, as I think the error is generated by that library (or maybe by ruby-gettext?). [...] > Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) [...] I see that you set some locale environment variables to "de_DE.utf8". Shouldn't it be "de_DE.UTF-8"? I've just checked with # LC_ALL=de_DE.UTF-8 aptitude install some_package and both aptitude and apt-listbugs ran correctly with output in German. Please try and set your locale to "de_DE.UTF-8": it should make apt-listbugs work correctly. I also tested # LC_ALL=de_DE.utf8 aptitude install some_package The awkward result is that aptitude seems to run correctly with output in German, while apt-listbugs fails with the error you experienced! Maybe there's some Ruby-specific peculiarity (or bug!) in the locale handling that prevents "de_DE.utf8" from being accepted as a valid setting (apt-listbugs is written in Ruby, while aptitude is not!). I hope the maintainers of ruby-locale / ruby-gettext will soon figure out what's wrong... Bye. -- http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt New GnuPG key, see the transition document! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpkynrLx2sGn.pgp
Description: PGP signature