I am trying to recover from the bungled upgrade. I found some answers in the Internet. For example, to use kernel 6.1.0- 17 instead of 6.1.0-18 whose package version is 6.1.76-1) and to enable bookworm-updates (https://forums.developer.nvidia.com/t/debian-12-and-nvidia-driver-nvidia-lin...).
Now I am stuck with inability to uninstall xorg-video-nvidia-tesla-470 (which I think was installed in one of failed attempts to recover) due to error in its postrm script.
Before doing crazy things such as forced uninstallation or doing restore from backup which I took just before full upgrade, I'd like to know how do people deal with such problems (in Debian and maybe also in Ubuntu).
Thanks, --- Omer Zak
(The above is less than total disaster because it happens in a laptop which is not my primary work PC. I plan to upgrade my work PC only after having successfully upgraded the laptop. I also kept enough backups to have the option to perform a fresh reinstall.)
On Fri, 2024-03-22 at 15:27 +0200, Rabin Yasharzadehe wrote:
My experience with NVIDIA and DKMS is that with very recent Kernels the build can break, but I didn't have that for some time now (years).
Also, I get my driver from my distro repo (Fedora), which reduce the chance of these issues.
-- Rabin
On Fri, 22 Mar 2024 at 12:01, Omer Zak w1@zak.co.il wrote:
I have upgraded a laptop from Debian 11 (Bullseye) to Debian 12 (Bookworm)
Now I am running into trouble when trying to build DKMS modules needed by nvidia-driver (the proprietary one) on the most recent kernel version (I tried both 6.1.76-1 and 6.6.13-1~bpo12+1).
There are some compile-time errors (different errors in different attempts).
Is there any information about known problems of getting Nvidia software to interoperate with Debian 12 (Bookworm) working on up- to- date kernels?