upgrade fails when using mirror:// URIs in /etc/apt/sources.list

Bug #1995896 reported by Lars Näppä
8
This bug affects 1 person
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-release-upgrader-core 1:20.04.39
ProcVersionSignature: Ubuntu 5.4.0-131.147-generic 5.4.210
Uname: Linux 5.4.0-131-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
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)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2022-11-07 (0 days ago)
VarLogDistupgradeAptlog:
 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

Revision history for this message
Lars Näppä (lnaeppae) wrote :
Nick Rosbrook (enr0n)
summary: - Jammy upgrade fails
+ upgrade fails when using mirror:// URIs in /etc/apt/sources.list
Revision history for this message
Nick Rosbrook (enr0n) wrote :

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.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Triaged
importance: Undecided → Low
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.