[Bug 776038] Re: Update manager fails to dist-upgrade with IPv6-only connection
Boris Samardzija
boris.samardzija at gmail.com
Mon Oct 27 13:56:37 UTC 2014
This bug hit me also...please fix this, it should be trivial.
borisko at 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 at 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 at spajza:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
borisko at spajza:~$ do-release-upgrade -d
Checking for a new Ubuntu release
No new release found
borisko at 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
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/776038
Title:
Update manager fails to dist-upgrade with IPv6-only connection
Status in “update-manager” package in Ubuntu:
Confirmed
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/776038/+subscriptions
More information about the foundations-bugs
mailing list