upgrade fails when using mirror:// URIs in /etc/apt/sources.list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Complains about missing eddential package ubuntu-minimal
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.4.0-131-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
Date: Mon Nov 7 21:41:35 2022
InstallationDate: Installed on 2019-12-01 (1072 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to focal on 2022-11-07 (0 days ago)
VarLogDistupgra
Log time: 2022-11-07 21:41:02.055467
Log time: 2022-11-07 21:41:08.994729
Log time: 2022-11-07 21:41:34.738654
Log time: 2022-11-07 21:41:40.020475
summary: |
- Jammy upgrade fails + upgrade fails when using mirror:// URIs in /etc/apt/sources.list |
Hi Lars,
This is due to your use of mirror: //mirrors. ubuntu. com/mirrors. txt in your /etc/apt/ sources. list. When ubuntu- release- upgrader checks if your current mirror is reachable, it does not know how to check mirror:// URIs.
As a workaround, please use a single mirror (e.g. http:// no.archive. ubuntu. com/ubuntu) in your /etc/apt/ sources. list, and then do the upgrade. You should be able to switch back to mirrors: //mirrors. ubuntu. com/mirrors. txt after the upgrade.