Package: apt-listbugs
Version: 0.1.47
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
I got error using apt-listbugs with my default LANG set up.
If I run it using LANG=C, it works:
$ env LANG=C apt-listbugs list apt
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
serious bugs of apt (-> ) <Outstanding>
b1 - #1078608 - apt update silently leaves old index data
grave bugs of apt (-> ) <Resolved in some Version>
b2 - #1111554 - apt - daily job spams "Tried to start delayed item […], but
failed" (Fixed: apt/3.1.8)
Merged with: 1124940
Summary:
apt(2 bugs)
Using my default LANG env variable (fr_BE.UTF-8), it crashes:
$ env | grep ^LANG=
LANG=fr_BE.UTF-8
$ apt-listbugs list apt
Récupération des rapports de bogue… Fait
Analyse des informations Trouvé/Corrigé… Fait
bogues de gravité serious sur apt (→ ) <En attente de traitement>
b1 - #1078608 - apt update silently leaves old index data
bogues de gravité grave sur apt (→ ) <Résolus dans une version donnée>
/usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:920:in `+': incompatible
character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError)
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:920:in `block (4
levels) in display_bugs'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:69:in `block
in each_by_category'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:68:in `each'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/debian/bug.rb:68:in
`each_by_category'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:899:in `block (3
levels) in display_bugs'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:895:in `each'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:895:in `block (2
levels) in display_bugs'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:894:in `each'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:894:in `block in
display_bugs'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:893:in `each'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:893:in
`display_bugs'
from /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:538:in `view'
from /usr/bin/apt-listbugs:254:in `<main>'
Maybe because of the 3-dots character in bug #1111554 description.
Once report available in BTS, I'll drop another mail with second command
in debug mode.
Regards,
Jean-Marc
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.18.5+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apt-listbugs depends on:
ii apt 3.1.14
ii distro-info 1.14
ii ruby 1:3.3+b1
ii ruby-debian 0.3.12
ii ruby-gettext 3.4.9-1
ii ruby-soap4r 2.0.5-9
ii ruby-unicode 0.4.4.5-1+b3
ii ruby-xmlparser 0.7.3-7
Versions of packages apt-listbugs recommends:
ii ruby-httpclient 2.9.0-1
ii ruby-sys-proctable 1.3.0-1
Versions of packages apt-listbugs suggests:
ii firefox [www-browser] 147.0.1-1
ii firefox-esr [www-browser] 140.7.0esr-1
ii lynx [www-browser] 2.9.2-2
ii reportbug 13.2.0
ii sensible-utils 0.0.26
ii w3m [www-browser] 0.5.3+git20230121-2.3
ii xdg-utils 1.2.1-2
-- no debconf information