On Tue, 02 Mar 2010 10:53:18 +0200 Antti-Juhani Kaijanaho wrote: [...] > Are you sure you want to install/upgrade the above packages? [Y/n/?/...] w > /usr/share/apt-listbugs/apt-listbugs/logic.rb:588:in `display_bugs_as_html': > undefined method `codeset' for Locale:Module (NoMethodError) > from /usr/share/apt-listbugs/apt-listbugs/logic.rb:404:in `view' > from /usr/sbin/apt-listbugs:374 > E: Aliprosessi /usr/sbin/apt-listbugs apt || exit 10 palautti virhekoodin (10)
Hi Antti-Juhani, thanks a lot for your bug report! I am in a real hurry now, but I think that this is due to a libgettext-ruby1.8 API change. With current testing (libgettext-ruby1.8/1.93.0-1.1) I obtain: $ irb1.8 irb(main):001:0> require 'gettext' => true irb(main):002:0> Locale.codeset => "UTF-8" irb(main):003:0> Locale.charset => "UTF-8" irb(main):004:0> exit $ Could you please perform this same test on your sid box (with libgettext-ruby1.8/2.1.0-1)? You should get an error when you invoke Locale.codeset . Do you by chance get your configured charset ("UTF-8") with Locale.charset ? If you do, then could you please try to edit line 588 of /usr/share/apt-listbugs/apt-listbugs/logic.rb by applying the substitution s/codeset/charset/ ? Please let me know if it fixes the problem. Tomorrow I will hopefully find some time to search for documentation about this supposed API change and to check if this is the proper fix... -- http://www.inventati.org/frx/progs/scripts/pdebuild-hooks.html Need some pdebuild hook scripts? ..................................................... Francesco Poli . GnuPG key fpr == C979 F34B 27CE 5CD8 DC12 31B5 78F4 279B DD6D FCF4
pgpWNRQgccwD2.pgp
Description: PGP signature