systemd-resolved wasn't installed on upgrade from Jammy to Noble
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Upgrades from jammy to noble sometimes end up without systemd-resolved being installed, breaking networking as the system already migrated to resolved in jammy and now it disappears.
[Test plan]
Sadly we have so far been unable to reproduce the issue so we cannot provide a test plan to verify the fix right now. That said, the fix is the minimal "install it after marking the upgrades", so it should be obviously correct (TM).
[Where problems could occur]
Problems could be expected around Conflicts/Breaks from or to systemd-resolved.
systemd-resolved Provides and Conflicts with resolvconf, but it is the only provider in the archive. systemd-resolved has no other Conflicts.
There are no reverse-Breaks or reverse-Conflicts for systemd-resolved.
Other dependency issues could occur if the dependencies of systemd-resolved are unsatisfiable, however, systemd-resolved only requires essential packages, systemd packages, and a dbus system bus.
[Original bug report]
I just do-release-upgraded from Jammy to Noble on a pretty minimal server.
After upgrade, network was fine but DNS names could not be resolved. I discovered systemd-resolved wasn't installed. I copied and installed that package manually, which immediately resolved the problem.
So I assume this is a mistake in the upgrade process.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: systemd-resolved 255.4-1ubuntu8
ProcVersionSign
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
Date: Thu Apr 25 15:27:23 2024
SourcePackage: systemd
UpgradeStatus: Upgraded to noble on 2024-04-25 (0 days ago)
---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CrashReports: 640:0:0:
DistroRelease: Ubuntu 24.04
Package: ubuntu-
ProcVersionSign
Tags: noble dist-upgrade
Uname: Linux 6.8.0-31-generic x86_64
UpgradeStatus: Upgraded to noble on 2024-04-25 (0 days ago)
UserGroups: N/A
VarLogDistupgra
INFO:root:
INFO:root:No xorg.conf, exiting
_MarkForUpload: True
Changed in systemd (Ubuntu): | |
status: | Incomplete → New |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Incomplete → New |
description: | updated |
Sorry for the previous noise, I was on the wrong page. Can you please run apport-collect -p ubuntu- release- upgrader 2063464 so that upgrade logs are attached?