[Bug 1856066] [NEW] do-release-upgrade ncorrectly reports no upgrade available if it cannot connect to changelogs.ubuntu.com:443
Simon Déziel
1856066 at bugs.launchpad.net
Wed Dec 11 15:54:54 UTC 2019
Public bug reported:
We use apt-cacher-ng configured as apt proxy on every machine and when
trying to upgrade a Xenial machine, I got this:
# do-release-upgrade
Checking for a new Ubuntu release
No new release found.
Running tcpdump showed that do-release-upgrade tried to reach
changelogs.ubuntu.com:443 with a proxy CONNECT through our apt-cacher-
ng. Our apt-cacher-ng returned: "403 CONNECT denied (ask the admin to
allow HTTPS tunnels)".
do-release-upgrade should not ignore those errors silently, it should
report whatever failure it received.
# lsb_release -rc
Release: 16.04
Codename: xenial
# apt-cache policy ubuntu-release-upgrader-core
ubuntu-release-upgrader-core:
Installed: 1:16.04.29
Candidate: 1:16.04.29
Version table:
*** 1:16.04.29 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
1:16.04.25 500
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
1:16.04.12 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1856066
Title:
do-release-upgrade ncorrectly reports no upgrade available if it
cannot connect to changelogs.ubuntu.com:443
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
We use apt-cacher-ng configured as apt proxy on every machine and when
trying to upgrade a Xenial machine, I got this:
# do-release-upgrade
Checking for a new Ubuntu release
No new release found.
Running tcpdump showed that do-release-upgrade tried to reach
changelogs.ubuntu.com:443 with a proxy CONNECT through our apt-cacher-
ng. Our apt-cacher-ng returned: "403 CONNECT denied (ask the admin to
allow HTTPS tunnels)".
do-release-upgrade should not ignore those errors silently, it should
report whatever failure it received.
# lsb_release -rc
Release: 16.04
Codename: xenial
# apt-cache policy ubuntu-release-upgrader-core
ubuntu-release-upgrader-core:
Installed: 1:16.04.29
Candidate: 1:16.04.29
Version table:
*** 1:16.04.29 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
1:16.04.25 500
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
1:16.04.12 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1856066/+subscriptions
More information about the foundations-bugs
mailing list