Got “Authentication failed” while running do-release-upgrade from 19.10 to 20.04 LTS with proxy configured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm running `squid-deb-proxy` server in my local network. It works well for all package downloads while running all APT commands. It is configured for all possible known URLs of the mirrors including *old-releases*. The Ubuntu 19.10 client has installed client side - the `squid-
```
$ dpkg -l squid-deb-
ii squid-deb-
$ sudo apt update
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
```
But when I try to start upgrade process to get 20.04 LTS - using `sudo do-release-upgrade` in the terminal I got the following error message:
```
$ sudo do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://
Get:1 Upgrade tool signature [1 554 B]
Get:2 Upgrade tool [1 342 kB]
Fetched 1 343 kB in 0s (0 B/s)
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
Authentication failed
Authenticating the upgrade failed. There may be a problem with the network or with the server.
```
I do not see anything special in the logs on `squid-deb-proxy` server side:
```
==> /var/log/
1595069772.862 212 192.168.3.47 TCP_MISS/200 3349 CONNECT changelogs.
1595069774.726 2 192.168.3.47 TCP_MEM_HIT/200 1950 GET http://
1595069775.410 681 192.168.3.47 TCP_HIT/200 1342082 GET http://
```
How should I fix the problem with *Authentication failed* to run the upgrade through proxy server normally? I do not want to switch proxy server (or exclude its configuration from the client) off to fix the problem.
---
The results does not depend on proxy configuration method - the "Authentication failed" message is shown for both `squid-
Note: previous versions do not suffer from this bug. I have successfully upgraded 16.04 LTS to 18.04 LTS with enabled proxy. But the upgrade from 18.04 LTS to 19.10 and from 18.04 LTS to 20.04 LTS is now impossible because of the "Authentication failed" message.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.3.0-62-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.9
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: MATE
Date: Sat Jul 18 16:53:01 2020
InstallationDate: Installed on 2019-10-19 (273 days ago)
InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Release amd64 (20191017)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Invalid |
For 18.04 LTS -> 20.04 LTS:
``` security. ubuntu. com/ubuntu bionic-security InRelease archive. ubuntu. com/ubuntu bionic InRelease archive. ubuntu. com/ubuntu bionic-updates InRelease archive. ubuntu. com/ubuntu bionic-backports InRelease
$ sudo apt update
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
There is no development version of an LTS available. manager/ release- upgrades.
To upgrade to the latest non-LTS develoment release
set Prompt=normal in /etc/update-
mate@bionic:~$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [1 554 B]
Get:2 Upgrade tool [1 342 kB]
Fetched 1 343 kB in 0s (0 B/s)
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
Authentication failed
Authenticating the upgrade failed. There may be a problem with the network or with the server.
```
So it fails.