2023-06-10 22:53:37 |
Anderson Silva |
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
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apt 2.4.9
ProcVersionSignature: Ubuntu 5.19.0-1025.26~22.04.1-lowlatency 5.19.17
Uname: Linux 5.19.0-1025-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Sat Jun 10 19:24:13 2023
InstallationDate: Installed on 2022-08-16 (298 days ago)
InstallationMedia: Ubuntu-MATE 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install) |
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 |
|