Issues Upgrading from Ubuntu 24.04 to 26.04

Hi,

I have seemingly the exact same issue! I had enabled Ubuntu Pro on my 24.04 computer, which caused some warnings on the upgrade process, saying that select packages should be reinstalled from a supported repository. Ubuntu Pro repository was not apparently good?

Well, I continued on without remedying it, and I got to the point of terminal logs Building module(s).... It went on for tens of minutes, until suddenly the screen went black when I had a second earlier connected my bluetooth headphones, causing my headphones to disconnect, and the computer seemed to go hibernating.

I could not get it to wake up any more than getting the lights of the computer and keyboard on. I decided after 5min to forcefully shut it down with the power button. Booting it back up, I got an updated boot loader icon (spinner), under the computer manufacturer logo. After that, the screen was filled with the usual [OK] service-name logs, that is usually in the background, but no login screen ever came in the end. The result was a black screen with a blinkin cursor on the top left corner..

After some searching online, I found out that I may need to run an update on through the terminal. Well, after opening the terminal with ctrl+alt+f2, logging in and trying to upgrade two packages that had not upgraded yet, I got an error that I should fix something with dpkg (can’t remember the full command right now, but it tries to fix the dependencies). I am still running that command:

lots of Setting up package-name (version)

[…]

Autoinstall of module evdi/5.2.14 for kernel 7.0.0-34-generic (x86_64)
Building module(s)........... And so on...

I am getting every now and then (at 3-240s intervals, changing) a log of Bluetooth: hci0: Unknown advertising packet type: 0x20. Could the bluetooth package have not gotten upgraded correctly? There must be something else as well, causing problems.

Sorry for the format of the logs. I am on mobile, and could not get a new line in the code box (three ticks box).

This is some external driver you added, evdi is a graphics driver for displaylink devices, do you have a hard requirement for it ? else just remove the dkms package since it is not designed for kernels newer than 6.15 (and 26.04 comes with a 7.x kernel)

After removing the dkms module your kernel should then install cleanly.

(Also please create a fresh topic next time, this is likely completely unrelated to the original post)

Thanks for the input and helping me understand how I can participate in the community better.

I must have used evdi for some VMs I have been running locally. There should be no other reason than that. Removing evdi indeed allowed the upgrade to continue smoothly!

I wonder, would there have been a process I could have run to check what packages are likely to need removal due to an upgrade like this (LTS)? There are so many things getting upgraded, but then there are things like evdi here, which are left unnoticed. The issue why it was left unnoticed might have been due to evdi probably being installed manually. And frankly, when you are a developer, you might have quite a lot of packages installed manually :sweat_smile:

Warning: if you have ubuntu-pro on your 24.04 do-relese-upgrade conplains for packages installed from UbuntuESMApps https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2170586

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.