On Thu, 18 Dec 2014 18:24:53 +0200, Yavor Doganov wrote: > > I guess it would be helpful if you could try to > > - add a "puts @path" in /usr/lib/ruby/vendor_ruby/dhelp.rb:184 > > (see Santiago's message #24); > > - copy the output of `locale' and `/etc/cron.weekly/dhelp';
Thanks! > $ locale > LANG=bg_BG.UTF-8 > LANGUAGE=bg:en_GB > LC_CTYPE="bg_BG.UTF-8" > LC_NUMERIC="bg_BG.UTF-8" > LC_TIME="bg_BG.UTF-8" > LC_COLLATE="bg_BG.UTF-8" > LC_MONETARY="bg_BG.UTF-8" > LC_MESSAGES="bg_BG.UTF-8" > LC_PAPER="bg_BG.UTF-8" > LC_NAME="bg_BG.UTF-8" > LC_ADDRESS="bg_BG.UTF-8" > LC_TELEPHONE="bg_BG.UTF-8" > LC_MEASUREMENT="bg_BG.UTF-8" > LC_IDENTIFICATION="bg_BG.UTF-8" > LC_ALL= Ok. > [ Sorry for the long output. ] No worries, that was expected :) [..] > /var/lib/doc-base/documents/xinetd-faq > /var/lib/doc-base/documents/xterm-ctlseqs > /var/lib/doc-base/documents/xterm-faq > ArgumentError: invalid byte sequence in UTF-8 > (/usr/lib/ruby/vendor_ruby/debian.rb:914:in `block in initialize' So according to the previous findings, my guess is that /var/lib/doc-base/documents/xterm-faq can't be interpreted as UTF-8. Which is interesing for two reasons: - First, I have the file installed and don't have any problems with dhelp (although not with a bulgarian locale but UTF-8 should be UTF-8?!) - Second, at least on my system, it's plain ASCII: % file -i /var/lib/doc-base/documents/xterm-faq /var/lib/doc-base/documents/xterm-faq: text/plain; charset=us-ascii And the file itself looks completely innocent: #v+ Document: xterm-faq Section: Terminal Emulators Title: XTerm Frequently Asked Questions (FAQ) Author: Thomas Dickey Abstract: This document provides answers to frequently asked questions about the XTerm terminal emulator as it ships with the X.Org distribution of the X Window System. Format: HTML Index: /usr/share/doc/xterm/xterm.faq.html Files: /usr/share/doc/xterm/xterm.faq.html Format: text Files: /usr/share/doc/xterm/xterm.faq.gz #v- This is getting slightly mysterious. Could you please try `file -i /var/lib/doc-base/documents/xterm-faq' as well and open the file in a pager/editor to see if it's the same on your machine? If I'm understanding this correctly, the "origin" is /usr/share/doc-base/xterm-faq which has, according to /var/lib/dpkg/info/xterm.md5sums, a md5sum of 4f81e4dd965c918abc250beeb54131fb. Confirmed locally: % md5sum /usr/share/doc-base/xterm-faq 4f81e4dd965c918abc250beeb54131fb /usr/share/doc-base/xterm-faq Maybe you could check this out as well to rule out a corrupted file? > > - maybe try `LC_ALL=x LANG=x /etc/cron.weekly/dhelp' > > for different versions of x. > There is no difference. Ok, thanks again! Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Nick Drake: Hanging on a Star
signature.asc
Description: Digital Signature