do-release-upgrade error

Bug #1792860 reported by Mike Bernson
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apt-cacher-ng (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

mike@mike-think:~$ do-release-upgrade -c
Checking for a new Ubuntu release
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
No new release found.

This machine does not need a proxy to get to the internet.

If I go into web browser and open the link I get the page.

host command does find the host:

mike@mike-think:~$ host changelogs.ubuntu.com
changelogs.ubuntu.com has address 91.189.95.15
changelogs.ubuntu.com has IPv6 address 2001:67c:1560:8008::11

dig also find the host

mike@mike-think:~$ dig changelogs.ubuntu.com

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

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;changelogs.ubuntu.com. IN A

;; ANSWER SECTION:
changelogs.ubuntu.com. 600 IN A 91.189.95.15

;; Query time: 46 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Mon Sep 17 01:52:59 EDT 2018
;; MSG SIZE rcvd: 66

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.25
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: GNOME
Date: Mon Sep 17 01:47:45 2018
InstallationDate: Installed on 2016-07-24 (784 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to bionic on 2018-09-03 (13 days ago)
VarLogDistupgradeTermlog:

Revision history for this message
Mike Bernson (mike-mlb) wrote :
tags: added: xenial2bionic
tags: added: third-party-packages
Revision history for this message
Mike Bernson (mike-mlb) wrote :

There is 02proxy

Acquire::http { Proxy "http://cache:3142"; };

It is apt-cacher-ng running 16.04.

I found something on the net that talk about adding
passThroughPattern: ^changelogs.ubuntu.com:443$

This fixed the problem for me.

affects: ubuntu-release-upgrader (Ubuntu) → apt-cacher-ng (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in apt-cacher-ng (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul Boven (p-boven) wrote :

Ubuntu now uses https to connect to changelogs.ubuntu.com (LP: #1744318)

When using ACNG, this causes two things to break:

do-release-upgrade tries to download from changelogs.ubuntu.com via https, and fails

The daily release-upgrade-motd fails to connect to changelogs.ubuntu.com, and generates the error message "Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings"

As proposed in LP: #1771914, it would be good to add this setting to the default acng.conf on Ubuntu:
PassThroughPattern: ^changelogs.ubuntu.com:443$

Revision history for this message
Giovanni Panozzo (giox069) wrote :

It seems to have been fixed in Ubuntu 20.04:

----
/etc/apt-cacher-ng/acng.conf

# Default: ^(bugs\.debian\.org|changelogs\.ubuntu\.com):443$
# PassThroughPattern: ^(bugs\.debian\.org|changelogs\.ubuntu\.com):443$
-----

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.