The GUI just finishes when I press the "Upgrade..." button. Very impolitely. I then tried the command line and got:
$ sudo apt upgrade
(...)
The following packages have been kept back:
linux-modules-nvidia-535-6.2.0-39-generic linux-modules-nvidia-535-generic-hwe-22.04 linux-objects-nvidia-535-6.2.0-39-generic
linux-signatures-nvidia-6.2.0-39-generic
0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade.
$ sudo do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife
Please install all available updates for your release before upgrading.
How to proceed? May I force the distribution upgrade? Or can I force the package update? Or can I tell the machine to ignore the kept back packages? And why am I the only one who has this problem?
Addendum: The reinstall method does not work:
$ sudo apt reinstall linux-modules-nvidia-535-6.2.0-39-generic linux-modules-nvidia-535-generic-hwe-22.04 linux-objects-nvidia-535-6.2.0-39-generic linux-signatures-nvidia-6.2.0-39-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
linux-modules-nvidia-535-6.2.0-39-generic : Depends: nvidia-kernel-common-535 (>= 535.154.05) but 535.146.02-0ubuntu0.23.04.1 is to be installed
linux-modules-nvidia-535-generic-hwe-22.04 : Depends: nvidia-kernel-common-535 (>= 535.154.05) but 535.146.02-0ubuntu0.23.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Addendum II: This one (from the linked issue) might have worked, at least I am now starting the upgrade:
sudo apt install --only-upgrade linux-signatures-nvidia-6.2.0-39-generic
This removed the packages linux-modules-nvidia-530-generic-hwe-22.04 linux-modules-nvidia-535-6.2.0-39-generic linux-modules-nvidia-535-generic-hwe-22.04. Afterwards apt dist-upgrade upgraded linux-objects-nvidia-535-6.2.0-39-generic.
Finally I am rather confused about that mechanism, but am going to start the upgrade process now, via do-release-upgrade.
sudo apt reinstall linux-modules-nvidia-535-6.2.0-39-generic linux-modules-nvidia-535-generic-hwe-22.04 linux-objects-nvidia-535-6.2.0-39-generic linux-signatures-nvidia-6.2.0-39-generic
– Terrance Jan 27 '24 at 15:19sudo apt full-upgrade
– Daniel T Jan 27 '24 at 22:07