Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1253139

Bug#1109457: apt-listbugs: Does not fall back to IPv4 on IPv6 failure

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Cameron Davidson <bugs@davidsoncj.id.au>
Newsgroups linux.debian.bugs.dist
Subject Bug#1109457: apt-listbugs: Does not fall back to IPv4 on IPv6 failure
Date Fri, 18 Jul 2025 11:50:01 +0200
Message-ID <L9PT3-Ruf-3@gated-at.bofh.it> (permalink)
X-Original-To Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Jul 18 09:45:18 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.999
Reply-To Cameron Davidson <bugs@davidsoncj.id.au>, 1109457@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Francesco Poli (wintermute) <invernomuto@paranoici.org>
X-Debian-Pr-Message report 1109457
X-Debian-Pr-Package apt-listbugs
X-Debian-Pr-Keywords ipv6
X-Debian-Pr-Source apt-listbugs
Content-Type text/plain; charset="us-ascii"
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Mailer reportbug 13.2.0
X-Greylist delayed 1921 seconds by postgrey-1.37 at buxtehude; Fri, 18 Jul 2025 09:43:51 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1914206
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 77
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 18 Jul 2025 18:23:29 +1000
X-Original-Message-ID <175282700949.31073.7725201078416830876.reportbug@xentvm.davidsoncj.id.au>
Xref csiph.com linux.debian.bugs.dist:1253139

Show key headers only | View raw


Package: apt-listbugs
Version: 0.1.47
Severity: normal
Tags: ipv6

Dear Maintainer,

* Verified in Debian 12 as well as Deb 13 testing.

If apt-listbugs is installed in a system then,  when there are problems
with IPv6, "apt install/update" can appear to hang at
"Retrieving bug reports...0%"
Requires ctrl-C, and after saying do not try to retrieve bugs again
apt asks if it should continue installation.
When I select "yes" it then fails to continue installation.

Also "apt-listbugs -d list apt-listbugs" initally reports:
 Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136 - cannot load such file -- soap/rpc/driver
 Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136 - cannot load such file -- xml/encoding-ja
 Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:144 - cannot load such file -- xml/encoding-ja
 Set XSD::XMLParser::XMLParser as XML processor.
 Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136 - cannot load such file -- httpclient
 Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136 - cannot load such file -- addressable/uri
 Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:144 - cannot load such file -- addressable/uri
 Exception `KeyError' at /usr/lib/ruby/vendor_ruby/http/cookie_jar/abstract_store.rb:15 - key not found: :hash

and then gets to...
"! CONNECT TO bugs.debian.org 80"  (Debian 12)
at which point it seems to hang. But if I wait for 
over 6 MINUTES  then it does seem to fall back to IPv4 to get the details.

So perhaps my subject line is wrong, but the timeouts are obviously too
long and, coupled with the multiple redirects, means nobody is going to wait that
long unless they've gone off for a coffee.


The cause of the problem is that my ISP broke routing for my IPv6 address a
week ago, but it was not immediately obvious and is still not fixed.

workaround: is to either uninstall apt-listbugs, or temporarily disable
IPv6  (if convenient). In either case apt then works quickly.



-- System Information:
Debian Release: 13.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.33+deb13-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.0.3
ii  distro-info     1.13
ii  ruby            1:3.3+b1
ii  ruby-debian     0.3.10+b13
ii  ruby-gettext    3.4.9-1
ii  ruby-soap4r     2.0.5-9
ii  ruby-unicode    0.4.4.5-1+b2
ii  ruby-xmlparser  0.7.3-6+b1

Versions of packages apt-listbugs recommends:
ii  ruby-httpclient     2.8.3+git20211122.4658227-1
ii  ruby-sys-proctable  1.3.0-1

Versions of packages apt-listbugs suggests:
ii  reportbug          13.2.0
ii  sensible-utils     0.0.25
pn  w3m | www-browser  <none>
pn  xdg-utils          <none>

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1109457: apt-listbugs: Does not fall back to IPv4 on IPv6 failure Cameron Davidson <bugs@davidsoncj.id.au> - 2025-07-18 11:50 +0200
  Bug#1109457: apt-listbugs: Does not fall back to IPv4 on IPv6 failure Francesco Poli <invernomuto@paranoici.org> - 2025-07-18 23:00 +0200
    Bug#1109457: apt-listbugs: Does not fall back to IPv4 on IPv6 failure Cameron Davidson <bugs@davidsoncj.id.au> - 2025-07-24 10:20 +0200

csiph-web