I'm trying to install the NVIDIA drivers on Peppermint Devuan, but I am running into issues that I do not encounter when installing drivers on Peppermint Debian.
When I try to install using Synaptic Package Manager, I get the screenshot included. When using terminal I get the following error.
The following packages have unmet dependencies:
nvidia-driver : Depends: nvidia-kernel-dkms (= 525.125.06-1~deb12u1) but it is not installable or
nvidia-kernel-525.125.06 or
nvidia-open-kernel-525.125.06 or
nvidia-open-kernel-525.125.06
E: Unable to correct problems, you have held broken packages.
As mentioned, this issue only pertains to Peppermint Devuan, not Peppermint Debian. Any advice on how to fix these?
You should have a “Fix Broken Packages” option in the synaptic menu. You can now update and install packages just like normal. Alternatively:
sudo dpkg –configure -a
this command looks for any broken dependencies on your system caused by packages that aren’t installed. This tool should automatically install any package that it feels you’re missing.
sudo apt-get install -f
At this point, you can run
sudo apt-get clean && sudo apt-get update
followed by
sudo apt-get upgrade
to update every package on your system. I hope this helps :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To view how version you have installed, just open an terminal and enter follow:
nvidia-smi
[Edit] After updating the repos there was a dependency error with the nvidia-settings package in the backports sources, to fix this incident it was enough to remove the backports source command.
It may happen that the persistenced daemon does not activate and need i386 binaries to work, it will then have to be done manually with the commands below:
sudo dpkg --add-architecture i386
sudo apt update
sudo update-rc.d nvidia-persistenced defaults
sudo service nvidia-persistenced start
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Awesome. Thank you for the help on this. I followed the steps, but when I reached step 3 it still gave an error. What ultimately fixed was I edited sources.list to include non-free-firmware. After that, I was able to complete the installation.
Thank you once again for your help on this! To any admin, please mark this topic as solved.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I'm trying to install the NVIDIA drivers on Peppermint Devuan, but I am running into issues that I do not encounter when installing drivers on Peppermint Debian.
When I try to install using Synaptic Package Manager, I get the screenshot included. When using terminal I get the following error.
The following packages have unmet dependencies:
nvidia-driver : Depends: nvidia-kernel-dkms (= 525.125.06-1~deb12u1) but it is not installable or
nvidia-kernel-525.125.06 or
nvidia-open-kernel-525.125.06 or
nvidia-open-kernel-525.125.06
E: Unable to correct problems, you have held broken packages.
As mentioned, this issue only pertains to Peppermint Devuan, not Peppermint Debian. Any advice on how to fix these?
Thanks.
Hi Jon
You should have a “Fix Broken Packages” option in the synaptic menu. You can now update and install packages just like normal. Alternatively:
sudo dpkg –configure -a
this command looks for any broken dependencies on your system caused by packages that aren’t installed. This tool should automatically install any package that it feels you’re missing.
At this point, you can run
sudo apt-get clean && sudo apt-get update
followed by
sudo apt-get upgrade
to update every package on your system. I hope this helps :)
**To install Nvidia drivers on Devuan: ** I found this tutorial on the devuan website.
Second step blacklist the nouveau driver, create a blacklist file:
In the file add the following and save the file:
Then regenerate the kernel initramfs:
Third step install the latests NvidiaGraphicsDrivers:
Reboot.
To view how version you have installed, just open an terminal and enter follow:
[Edit] After updating the repos there was a dependency error with the nvidia-settings package in the backports sources, to fix this incident it was enough to remove the backports source command.
It may happen that the persistenced daemon does not activate and need i386 binaries to work, it will then have to be done manually with the commands below:
Awesome. Thank you for the help on this. I followed the steps, but when I reached step 3 it still gave an error. What ultimately fixed was I edited sources.list to include non-free-firmware. After that, I was able to complete the installation.
Thank you once again for your help on this! To any admin, please mark this topic as solved.