Failed to install Bumblebee, I now hold broken packages and dependencies

So I tried to install Bumblebee on my machine, but the installation process was interrupted at 99% due to human error. As the title suggests, I now have broken packages and dependencies.

Whenever I try to run another installation (non- free), I get this:

bash: aptitude: command not found
root@Gleb:~# sudo apt install bumblebee-nvidia primus libgl1-nvidia-glx           
Reading package lists… Done
Building dependency tree        
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:
libgl1-nvidia-glx : Depends: nvidia-alternative (= 418.74-1)
                    Depends: libnvidia-glcore (= 418.74-1) but 440.59-1~bpo10+1 is to be installed
                    Recommends: nvidia-driver-libs-nonglvnd (= 418.74-1) but it is not going to be installe
                    Recommends: nvidia-kernel-dkms (= 418.74-1) but 440.59-1~bpo10+1 is to be installed or
E: Unable to correct problems, you have held broken packages.



How do I get past this? Any help would be appreciated.

View Reddit by usnahxView Source

User Review
0 (0 votes)


Click here to post a comment

  • Also, if you held some packages (perhaps by accident) you can check with ‘dpkg –get-selections’, and remove the hold with ‘apt mark unhold <pkg>’

  • The problem seems to be that you are trying to install `libgl1-nvidia-glx` from buster and `libnvidia-glcore` (and some other packages) from buster-backports.

    `libgl1-nvidia-glx` doesn’t seem to be available in buster-packports. I don’t use the proprietary nvidia drivers, so I don’t know if there is a replacement for it. Perhaps `libgl1-nvidia-glvnd-glx`?