Le 29/01/26 à 12:12, Jean-Marc a écrit :
salut la liste,

Avez-vous également un comportement étrange et une grosse erreur à la sortie de la commande <apt-listbugs list apt> ?

Chez moi, ça donne ça :

Bon, rapport de bug.

Il semble qu'il y ait un soucis avec mon environnement LANG=fr_BE.UTF-8.

Ça, ça marche :

$ 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)

Ça, ça ne marche pas :

$ env 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>'

La récupération du 2e bug se plante.

--
Jean-Marc

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Répondre à