Edubuntu upgrade removed universe repo mantic -> noble

Bug #2055720 reported by Erich Eickmeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Invalid
High
Unassigned
ubuntu-release-upgrader (Ubuntu)
Fix Released
High
Nick Rosbrook

Bug Description

Upon upgrade from mantic to noble, my bare metal Edubuntu install removed the Universe repo from the installation and, therefore, did not upgrade any Edubuntu-specific packages. I suspect this was caused by the apt DEB-822 upgrade to the repo and not detecting the universe repo as required by the Edubuntu installation.

As Edubuntu looks identical to Ubuntu Desktop in terms of installation on the surface due to it also being a GNOME desktop, I suspect an assumption may have been derived from this.

Additionally, simply trying `add-apt-repository universe` was ineffective, so that might need some work as well.

Will attach logs if I can find them, but please do advise what logs you need.
---
ProblemType: Bug
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2023-03-04 (366 days ago)
InstallationMedia: Edubuntu 23.04 "Lunar Lobster" - Alpha amd64 Binary-1 (20230304)
NonfreeKernelModules: nvidia_modeset nvidia
Package: ubuntu-release-upgrader (not installed)
ProcVersionSignature: Ubuntu 6.5.0-21.21-generic 6.5.8
Tags: noble wayland-session dist-upgrade
Uname: Linux 6.5.0-21-generic x86_64
UpgradeStatus: Upgraded to noble on 2024-03-01 (3 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo users
VarLogDistupgradeXorgFixuplog:
 INFO:root:/usr/bin/do-release-upgrade running
 INFO:root:No xorg.conf, exiting
_MarkForUpload: True

description: updated
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :
Changed in software-properties (Ubuntu):
importance: Undecided → High
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Can you please run apport-collect 2055720? There are some ubuntu-release-upgrader logs that would be helpful to have. This will also attach your apt sources etc. which make things easier to understand.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : CrashReports.txt

apport information

tags: added: apport-collected dist-upgrade noble wayland-session
description: updated
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : CurrentDmesg.txt.txt

apport information

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : JournalErrors.txt

apport information

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : ProcEnviron.txt

apport information

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : VarLogDistupgradeAptHistorylog.txt

apport information

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : VarLogDistupgradeAptclonesystemstate.tar.gz

apport information

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : VarLogDistupgradeAptlog.txt

apport information

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : VarLogDistupgradeApttermlog.txt

apport information

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : VarLogDistupgradeLspcitxt.txt

apport information

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote : VarLogDistupgradeMainlog.txt

apport information

Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → New
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Hopefully that did it, but things were a bit weird during `apport-collect`.

Revision history for this message
Nick Rosbrook (enr0n) wrote :

Thanks. A few more things:

1. Were you still using /etc/apt/sources.list before the upgrade? Or were you an early deb822 adopter (i.e. already using /etc/apt/sources.list.d/ubuntu.sources)?
2. Do you have /etc/apt/sources.list.distUpgrade? If so, can you share that please?
3. Can you please attach the resulting /etc/apt/sources.list.d/ubuntu.sources?

According to the log, you have no valid mirrors configured, so u-r-u goes ahead and generates some default sources (which does not include universe -- that is a bug in itself IMO):

2024-03-01 09:25:39,054 DEBUG updateSourcesList()
2024-03-01 09:25:49,077 DEBUG rewriteSourcesList() with mirror_check
2024-03-01 09:25:49,077 WARNING mirror check skipped, *overriden* via config
2024-03-01 09:25:49,078 DEBUG examining: 'deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main'
2024-03-01 09:25:49,078 ERROR No valid mirror found
2024-03-01 09:26:04,429 DEBUG rewriteSourcesList()
2024-03-01 09:26:04,430 WARNING mirror check skipped, *overriden* via config
2024-03-01 09:26:04,430 DEBUG examining: 'deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main'
2024-03-01 09:26:12,205 INFO Generated new default sources.list

What's odd is that it appears that u-r-u only looked at /etc/apt/sources.list.d/vscode.list.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

1. Yes, using /etc/apt/sources.list before the upgrade (therefore no, not an early adopter).
2. Attached.
3. Attached, next comment.

vscode.list? That's weird.

Also, I certainly had mirrors configured before the upgrade, but yes, it said there were no mirrors configured. I cancelled the upgrade, double-checked, and started it again assuming it was a transient error. So yes, that's a bug in and of itself.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Bear in mind, I had to manually add `universe` to get it to properly upgrade after the upgrade to `main` was completed.

Revision history for this message
Nick Rosbrook (enr0n) wrote :

As a quick fix, we will just make sure that universe and multiverse are included in the default sources generated when this case is encountered. That should be the case either way.

I am still not sure why you hit this case, but according to the log it didn't look like you had other sources enabled somehow.

I marked software-properties invalid since this is pertaining to u-r-u.

tags: added: foundations-todo
removed: rls-nn-incoming
Changed in ubuntu-release-upgrader (Ubuntu):
assignee: nobody → Nick Rosbrook (enr0n)
Changed in software-properties (Ubuntu):
status: New → Invalid
Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Nick Rosbrook (enr0n)
Changed in ubuntu-release-upgrader (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:24.04.9

---------------
ubuntu-release-upgrader (1:24.04.9) noble; urgency=medium

  * Revert "tests: fix some more deb822 tests"
  * Run pre-build.sh: updating po files, mirrors, and demotions.

 -- Nick Rosbrook <email address hidden> Thu, 14 Mar 2024 14:18:50 -0400

Changed in ubuntu-release-upgrader (Ubuntu):
status: Fix Committed → Fix Released
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.