Upgrade did not upgrade source repositories in /etc/apt/sources.list

Bug #2008187 reported by Lin Manfu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Triaged
Low
Unassigned

Bug Description

RELEASE

Ubuntu Server 22.04.2 LTS Jammy, upgraded from 20.04 Focal.

WHAT I EXPECTED TO HAPPEN

The upgrade process upgrades both the deb-src and deb entries in /etc/apt/sources.list.

WHAT HAPPENED INSTEAD

The deb-src entries are still pointing to Focal, even though the deb entries have correctly been updated to Jammy.

Fortunately I noticed this while manually editing the file. But people using sed to edit the file (which I considered doing) could have had inconsistent binary and source dependencies.

I discovered this on an /etc/apt/sources.list that had additional sources at the end added by my server host. But I have also reproduced this on a Kubuntu 22.04.2 LTS system upgraded from 21.10 that has only used the official /etc/apt/sources.list.

Tags: jammy apt
Revision history for this message
Lin Manfu (linmanfu) wrote :
Revision history for this message
Lin Manfu (linmanfu) wrote :
Revision history for this message
Lin Manfu (linmanfu) wrote :

This attachment contains /var/log/dist-upgrade/ from the Jammy Server. Unfortunately I could not extract apt-term.log or apt-clone_system_state.tar.gz because they both caused KDE's sftp kioslave to crash despite repeated attempts.

Revision history for this message
Lin Manfu (linmanfu) wrote :

In lieu of apt-term.log, I have attached the terminal log for the update from Focal to Jammy.

Lin Manfu (linmanfu)
description: updated
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Yeah, I think this is awkward behavior and we should fix it. I don't think this is something we need to SRU, but I will prepare a fix for the next development cycle.

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.