Ah yes. Very familiar with their software. From time to a time an update or version would wreak havoc on your Kubernetes cluster or at the very least degrade performance.
IT threw it on our laptops and on occasion I’d have to kill the process.
You left out the NVIDIA card part. This is super important. So you have two kernels in a bad state and the NVIDIA driver is probably not building out.
You’ve got a chicken and egg issue.
This isn’t a technical answer but simply a generalization of what probably needs to happen.
I would start over on whatever kernel situation you have going.
First uninstall the NVIDIA driver.
Then remove that unsigned kernel and its headers. Use the force option if necessary.
Ensure dkms, the base kernel and its headers are installed.
Reboot using standard kernel and then install nvidia-dkms package. Reboot.
It’s tough to tell you exactly what needs to be done because I’m not really sure what kind of damage you did or what the full extent of the errors are. You might need some force options or whatever but generally that’s all that needs to happen. YOU do not have a NVIDIA driver built for whatever kernel you’re using.
I used to delete these script to get over errors aaand that worked fine for some time.
I can’t think of one time that I’ve done that in 20 years outside of repackaging applications for work because of crappy vendor supplied packages.
And you’re sure dkms and the headers are installed?
In situations like this, if bad enough I would usually temporarily remove mentioned packages until the apt fix works cleanly again and then reinstall whatever I was trying to do. But you’re saying you have removed post install scripts and manipulated packages? Hmm that seems like trouble.
I’m positive if I was infront of the terminal I could help you out, but I’m starting work for the day. Maybe someone else has a better idea. Sorry bro. But on a positive note, your system is certainly not beyond repair. This seems trivial with a little work and maybe someone who sees the issue better than I right now.
For others taking a look…. What was the command run before the apt fix?
If Epic was first to monopolize PC game marketplaces people would be defending them like they defend Valve now because they want all of their games in one place.
No, people accept Steam because of the proven track record, values of their leadership, their hardware and the work they do with Linux.