mirrors.ubuntu.com inaccessible via current Internet Protocol a.k.a. IPv6

Bug #2023460 reported by Anderson Silva
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

I set-up my APT repositories to use mirrors://mirrors.ubuntu.com and, while trying to update my system packages in an IPv6-only connection, it fails because the server becomes unreachable:

anderson@Unders-Laptop:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether ***REDACTED*** brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether ***REDACTED*** brd ff:ff:ff:ff:ff:ff
    inet6 2804:7f0:***REDACTED***/64 scope global temporary dynamic
       valid_lft 43197sec preferred_lft 43197sec
    inet6 2804:7f0:***REDACTED***/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 43197sec preferred_lft 43197sec
    inet6 fe80::abd1:44c:be0e:4464/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

anderson@Unders-Laptop:~$ dig AAAA mirrors.ubuntu.com

; <<>> DiG 9.18.12-0ubuntu0.22.04.1-Ubuntu <<>> AAAA mirrors.ubuntu.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20084
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;mirrors.ubuntu.com. IN AAAA

;; AUTHORITY SECTION:
ubuntu.com. 3208 IN SOA ns1.canonical.com. hostmaster.canonical.com. 2018056781 10800 3600 604800 3600

;; Query time: 6 msec
;; SERVER: 2606:4700:4700::1111#53(2606:4700:4700::1111) (UDP)
;; WHEN: Sat Jun 10 19:34:03 -03 2023
;; MSG SIZE rcvd: 108

anderson@Unders-Laptop:~$ sudo apt update
Ign:1 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist
Ign:1 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist
Ign:1 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist
Err:1 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist
  Something wicked happened resolving 'mirrors.ubuntu.com:http' (-5 - No address associated with hostname)
Ign:2 mirror://mirrors.ubuntu.com/mirrors.txt jammy InRelease
Ign:3 mirror://mirrors.ubuntu.com/mirrors.txt jammy-updates InRelease
Ign:4 mirror://mirrors.ubuntu.com/mirrors.txt jammy-backports InRelease
Ign:5 mirror://mirrors.ubuntu.com/mirrors.txt jammy-security InRelease
Err:6 mirror://mirrors.ubuntu.com/mirrors.txt jammy Release
  Downloading mirror file failed
Err:7 mirror://mirrors.ubuntu.com/mirrors.txt jammy-updates Release
  Downloading mirror file failed
Err:8 mirror://mirrors.ubuntu.com/mirrors.txt jammy-backports Release
  Downloading mirror file failed
Err:9 mirror://mirrors.ubuntu.com/mirrors.txt jammy-security Release
  Downloading mirror file failed
Reading package lists... Done
E: The repository 'mirror://mirrors.ubuntu.com/mirrors.txt jammy Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'mirror://mirrors.ubuntu.com/mirrors.txt jammy-updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'mirror://mirrors.ubuntu.com/mirrors.txt jammy-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'mirror://mirrors.ubuntu.com/mirrors.txt jammy-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
anderson@Unders-Laptop:~$ lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
- N/A -

3) What you expected to happen
APT updates the package lists

4) What happened instead
APT fails to connect to mirrors.ubuntu.com

Anderson Silva (undereu)
description: updated
Anderson Silva (undereu)
summary: - mirrors.ubuntu.com unaccessible via current Internet Protocol a.k.a.
+ mirrors.ubuntu.com inaccessible via current Internet Protocol a.k.a.
IPv6
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/2023460/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Paul White (paulw2u) wrote :

Is this still an issue?
There has been no response to comment #2 for over a month now.

The Ubuntu project is for bug reports relating to installations on user's computers.

Is https://github.com/canonical a better location to report this issue?

Changed in ubuntu:
status: New → Incomplete
tags: added: jammy
Revision history for this message
Anderson Silva (undereu) wrote :

Yes, the issue is still going.

~$ dig @2606:4700:4700::1001 AAAA mirrors.ubuntu.com

; <<>> DiG 9.18.12-0ubuntu0.22.04.2-Ubuntu <<>> @2606:4700:4700::1001 AAAA mirrors.ubuntu.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20067
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;mirrors.ubuntu.com. IN AAAA

;; AUTHORITY SECTION:
ubuntu.com. 3431 IN SOA ns1.canonical.com. hostmaster.canonical.com. 2018056951 10800 3600 604800 3600

;; Query time: 6 msec
;; SERVER: 2606:4700:4700::1001#53(2606:4700:4700::1001) (UDP)
;; WHEN: Sat Jul 15 17:59:26 -03 2023
;; MSG SIZE rcvd: 108

Changed in ubuntu:
status: Incomplete → New
status: New → Confirmed
Revision history for this message
Anderson Silva (undereu) wrote :

Issue is still going

~$ dig AAAA mirrors.ubuntu.com

; <<>> DiG 9.18.12-0ubuntu0.22.04.2-Ubuntu <<>> AAAA mirrors.ubuntu.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44232
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;mirrors.ubuntu.com. IN AAAA

;; AUTHORITY SECTION:
ubuntu.com. 2882 IN SOA ns1.canonical.com. hostmaster.canonical.com. 2018057114 10800 3600 604800 3600

;; Query time: 8 msec
;; SERVER: 2606:4700:4700::1111#53(2606:4700:4700::1111) (UDP)
;; WHEN: Wed Aug 23 21:16:40 -03 2023
;; MSG SIZE rcvd: 108

Revision history for this message
Anderson Silva (undereu) wrote :

Issue is still going

~$ dig @2606:4700:4700::1111 AAAA mirrors.ubuntu.com

; <<>> DiG 9.18.18-0ubuntu0.22.04.1-Ubuntu <<>> AAAA mirrors.ubuntu.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14099
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;mirrors.ubuntu.com. IN AAAA

;; AUTHORITY SECTION:
ubuntu.com. 3600 IN SOA ns1.canonical.com. hostmaster.canonical.com. 2018057509 10800 3600 604800 3600

;; Query time: 240 msec
;; SERVER: 2606:4700:4700::1111#53(2606:4700:4700::1111) (UDP)
;; WHEN: Sun Dec 03 08:32:50 -03 2023
;; MSG SIZE rcvd: 108

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.