Messed up update/upgrade, and now everything is pointing to NVIDIA

Hello world,

I’d certainly appreciate if anyone can help me out of a jam. So I did a regular update && upgrade. Now I’m at:

Linux t937 6.0.0-1kaisen-amd64 #1 SMP PREEMPT_DYNAMIC Kaisen 6.0.7-1kaisen (2022-11-10) x86_64 GNU/Linux

thank you very much. But now everything ends up as this:

user@t937 ~ $ sudo apt install neovim
[sudo] password for user:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
neovim : Depends: neovim-runtime (= 0.7.2-7) but it is not going to be installed
Depends: libmsgpackc2 (>= 2.1.0) but it is not going to be installed
Depends: libtermkey1 (>= 0.19) but it is not going to be installed
Depends: libtree-sitter0 (>= 0.20.2) but it is not going to be installed
Depends: libunibilium4 (>= 2.0) but it is not going to be installed
Depends: libvterm0 (>= 0.1) but it is not going to be installed
Depends: lua-luv (>= 1.44.2-0) but it is not going to be installed
Recommends: python3-pynvim but it is not going to be installed
nvidia-driver : Depends: nvidia-kernel-dkms (= 525.85.12-1) but 520.56.06-2 is to be installed or
nvidia-kernel-525.85.12 or
nvidia-open-kernel-525.85.12 or
nvidia-open-kernel-525.85.12
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

So, naturally:
user@t937 ~ $ sudo apt --fix-broken install
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
dctrl-tools dh-dkms firmware-nvidia-gsp libmpdec3 nvidia-kernel-dkms nvidia-kernel-support
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 135 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 525.85.12-1) | nvidia-kernel-525.85.12 | nvidia-open-kernel-525.85.12 | nvidia-open-kern
el-525.85.12; however:
Version of nvidia-kernel-dkms on system is 520.56.06-2.
Package nvidia-kernel-525.85.12 is not installed.
Package nvidia-open-kernel-525.85.12 is not installed.
Package nvidia-open-kernel-525.85.12 is not installed.

dpkg: error processing package nvidia-driver (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)

I don’t even have anything NVIDIA, My GPU is onboard intel. I’ve also looked at the forum, specifically at:

but the issue is not the same exactly.

Any ideas? Thank you Kaisens!

Hello and welcome,

Run this command: sudo apt autoremove --purge nvidia-driver

1 Like

I advise you for the future to use the kaisen-update script or the apt full-upgrade instead of upgrade :slight_smile:

Thank you sir. Your kung fu is the best.

1 Like

Thank you!