Full screen log of my session and commands run during this upgrade ** Description changed:
I noticed something odd when I went to do-release-upgrade my Plucky machine (ASUS ROG Zephyrus G15) to Questing. Initially, it had the 570-open UDA drivers installed, but do-release- upgrade claimed it was going to remove them, and it did not list any nvidia-driver packages in the install list to replace them with. I realized this was suspicious and worked around it on that machine by running `sudo ubuntu-drivers install` first, which installed the 580 drivers, after which the `do-release-upgrade` worked normally. To identify whether this would have caused an issue had I not done that, I reproduced this behavior on a DGX B200. To start out, I freshly provisioned a headless Plucky install via MAAS. Then, I installed the 570 drivers initially on there via `sudo apt install nvidia- driver-570-open linux-modules-nvidia-570-open-generic-hwe-24.04`, `sudo apt update && sudo apt dist-upgrade`d, then rebooted. Then, I ran `sudo do-release-upgrade` to go from Plucky to questing - normally. This appeared to uninstall the 570 drivers, then began - installing the 580 *dkms* drivers. + normally. The remove/install lists showed the same as what I saw on my + Zephyrus (570 marked for removal, no 580 drivers marked for install at + that stage). - After reboot, most of questing is installed, but cloud-init-base seems to have prevented some things from being fully configured. (ex: `sudo apt install cloud-init-base` yields this: + However, I'm guessing that might have been expected, since this appeared + to uninstall the 570 drivers, then began installing the 580 *dkms* + drivers.[0] + + After reboot, most of questing is installed, but cloud-init-base seems to have failed and prevented some things from being fully configured. (ex: `sudo apt install cloud-init-base` yields this: Summary: Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 2 not fully installed or removed. Space needed: 0 B / 1777 GB available Continue? [Y/n] Y Setting up cloud-init-base (25.3~2g890873f5-0ubuntu2) ... Migrating debconf value: cloud-init/local-cloud-config -> cloud-init-base/local-cloud-config dpkg: error processing package cloud-init-base (--configure): installed cloud-init-base package post-installation script subprocess returned error exit status 128 dpkg: dependency problems prevent configuration of cloud-init: cloud-init depends on cloud-init-base (= 25.3~2g890873f5-0ubuntu2); however: Package cloud-init-base is not configured yet. dpkg: error processing package cloud-init (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: cloud-init-base cloud-init Error: Sub-process /usr/bin/dpkg returned an error code (1) and it seems that my nvidia driver stack was only partially upgraded from 570->580. (not sure whether this is related to the cloud-init-base issue, or something separate): ubuntu@buzzsaw:~$ apt list --installed | grep nvidia | grep 580 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. linux-modules-nvidia-580-open-6.17.0-6-generic/questing-updates,questing-security,now 6.17.0-6.6+1 amd64 [installed,automatic] linux-modules-nvidia-580-open-generic-hwe-24.04/questing-updates,questing-security,now 6.17.0-6.6+1 amd64 [installed,automatic] nvidia-dkms-580-open/questing-updates,questing-security,now 580.95.05-0ubuntu1 amd64 [installed,auto-removable] nvidia-firmware-580-580.95.05/questing-updates,questing-security,now 580.95.05-0ubuntu1 amd64 [installed,automatic] nvidia-kernel-common-580/questing-updates,questing-security,now 580.95.05-0ubuntu1 amd64 [installed,automatic] nvidia-kernel-source-580-open/questing-updates,questing-security,now 580.95.05-0ubuntu1 amd64 [installed,auto-removable] ubuntu@buzzsaw:~$ apt list --installed | grep nvidia | grep 570 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. libnvidia-cfg1-570/now 570.195.03-0ubuntu0.25.04.1 amd64 [installed,local] libnvidia-common-570/now 570.195.03-0ubuntu0.25.04.1 all [installed,local] libnvidia-compute-570/now 570.195.03-0ubuntu0.25.04.1 amd64 [installed,local] libnvidia-decode-570/now 570.195.03-0ubuntu0.25.04.1 amd64 [installed,local] libnvidia-encode-570/now 570.195.03-0ubuntu0.25.04.1 amd64 [installed,local] libnvidia-extra-570/now 570.195.03-0ubuntu0.25.04.1 amd64 [installed,local] libnvidia-fbc1-570/now 570.195.03-0ubuntu0.25.04.1 amd64 [installed,local] libnvidia-gl-570/now 570.195.03-0ubuntu0.25.04.1 amd64 [installed,local] linux-modules-nvidia-570-open-generic-hwe-24.04/questing-updates,questing-security,now 6.17.0-6.6+1 amd64 [installed] nvidia-compute-utils-570/now 570.195.03-0ubuntu0.25.04.1 amd64 [installed,local] nvidia-dkms-570-open/questing,now 570.172.08-0ubuntu3 amd64 [installed,auto-removable] nvidia-firmware-570-570.195.03/now 570.195.03-0ubuntu0.25.04.1 amd64 [installed,local] nvidia-utils-570/now 570.195.03-0ubuntu0.25.04.1 amd64 [installed,local] xserver-xorg-video-nvidia-570/now 570.195.03-0ubuntu0.25.04.1 amd64 [installed,local] ProblemType: Package DistroRelease: Ubuntu 25.10 Package: cloud-init-base 25.3~2g890873f5-0ubuntu2 ProcVersionSignature: Ubuntu 6.14.0-35.35-generic 6.14.11 Uname: Linux 6.14.0-35-generic x86_64 ApportVersion: 2.33.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: unknown CloudArchitecture: x86_64 CloudBuildName: server CloudID: maas CloudName: maas CloudPlatform: maas CloudSerial: 20251024 CloudSubPlatform: seed-dir (http://10.241.199.11:5248/MAAS/metadata/) Date: Thu Oct 30 20:37:54 2025 DuplicateSignature: package:cloud-init-base:25.3~2g890873f5-0ubuntu2 Setting up cloud-init-base (25.3~2g890873f5-0ubuntu2) ... Migrating debconf value: cloud-init/local-cloud-config -> cloud-init-base/local-cloud-config dpkg: error processing package cloud-init-base (--configure): installed cloud-init-base package post-installation script subprocess returned error exit status 128 ErrorMessage: installed cloud-init-base package post-installation script subprocess returned error exit status 128 PackageArchitecture: all Python3Details: /usr/bin/python3.13, Python 3.13.7, python3-minimal, 3.13.7-1 PythonDetails: N/A RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: dpkg 1.22.21ubuntu3.1 apt 3.1.6ubuntu2 SourcePackage: cloud-init Title: package cloud-init-base 25.3~2g890873f5-0ubuntu2 failed to install/upgrade: installed cloud-init-base package post-installation script subprocess returned error exit status 128 UpgradeStatus: Upgraded to questing on 2025-10-30 (0 days ago) + + + [0] Going from lrm->dkms is a separate issue and shouldn't have happened. For reference, I installed my initial drivers via `sudo apt install nvidia-driver-570-open linux-modules-nvidia-570-open-generic-hwe-24.04`. ** Attachment added: "buzzsaw-plucky-questing-upgrade-bug-oct30-commands-screenlog.0.txt" https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2130379/+attachment/5922620/+files/buzzsaw-plucky-questing-upgrade-bug-oct30-commands-screenlog.0.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2130379 Title: package cloud-init-base 25.3~2g890873f5-0ubuntu2 failed to install/upgrade: installed cloud-init-base package post-installation script subprocess returned error exit status 128 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2130379/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
