Update manager fails to dist-upgrade with IPv6-only connection

Bug #776038 reported by Erik B. Andersen on 2011-05-03
62
This bug affects 11 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

A maverick install that only has an IPv6 only connection (and even an IPv6 mirror or apt package cache configured) will not detect the natty upgrade through the update manager. If you run check-new-release you get the right result, and if you run do-release-upgrade it knows, but Update manager doesn't know until you give it a IPv4 connection and then have it recheck for updates. Once it knows, it will complain if of not being able to get the release notes if it is switched back to v6 only.

To reproduce:
Set the internet connection of a Ubuntu install that doesn't know about the Natty release to having IPv4 set to disabled. (Edit connection -> IPv4 tab -> Set menu to disabled. Apply. Reconnect.)
Configure apt to use either an IPv6 available package cache or an IPv6 available mirror.
Open update manager and have it check for new updates.
Notice that it never discovers that there's a new Natty release.
Run check-new-release. Notice it gets the correct result.
Enable IPv4 and recheck. You should get a message that Natty is available.
Disable IPv4. Try to upgrade. Notice you get an error about not being able to get release notes, and you cannot complete the upgrade.

From running wireshark, it looks like Update manager is looking for http://changelogs.ubuntu.com/meta-release to find out about new releases, which is unreachable over IPv6. That file mentions http://archive.ubuntu.com/ubuntu/dists/natty/main/dis-upgrade-all/current/ReleaseAnnouncement, which is probably where it's (trying to) getting release notes.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: update-manager 1:0.142.23
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
Architecture: amd64
Date: Mon May 2 17:47:47 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager

Erik B. Andersen (azendale) wrote :
fcstor (fcstor) wrote :

I'm an NAT64 user, changelogs.ubuntu.com and archive.ubuntu.com solve to NAT64 addresses. I finally found a way to upgrade... but the bug really affects most of IPv6-only users.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
tags: added: lucid precise
tags: added: ipv6
Bill Owens (owens) wrote :

Three years later, this bug still exists. It looks as though the problem could be solved by giving changelogs.ubuntu.com an IPv6 address, so the meta-release file could be accessed by a v6-only host. Surely that's a straightforward enough change that it shouldn't take years to implement.

Philip Shen (phil-shen) wrote :

I have the same problem on IPv6 only host.

This bug hit me also...please fix this, it should be trivial.

borisko@spajza:~$ cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the release that immediately succeeds the currently-running
# release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
Prompt=normal

borisko@spajza:~$ cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu precise main restricted universe
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe
deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu precise partner

borisko@spajza:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise

borisko@spajza:~$ do-release-upgrade -d
Checking for a new Ubuntu release
No new release found

borisko@spajza:~$ dig changelogs.ubuntu.com ANY

; <<>> DiG 9.8.1-P1 <<>> changelogs.ubuntu.com ANY
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45033
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;changelogs.ubuntu.com. IN ANY

;; ANSWER SECTION:
changelogs.ubuntu.com. 599 IN A 91.189.95.36

;; Query time: 22 msec
;; SERVER: 2001:4860:4860::8888#53(2001:4860:4860::8888)
;; WHEN: Mon Oct 27 14:52:52 2014
;; MSG SIZE rcvd: 55

MegaBrutal (qbu6to) wrote :

I didn't find this report earlier and opened a duplicate here:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1376088

Comment #2 there is promising though.

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

Other bug subscribers