https://unix.stackexchange.com/question … an-stretch
https://bugs.debian.org/cgi-bin/bugrepo … bug=906903
This command doesn't work, as broken deps:
sudo apt install nvidia-driver
But this one works fine:
sudo apt install nvidia-driver libgl1-nvidia-glvnd-glx
We will continue to investigate that and possibly report it at Debian bug tracking system. Please post any related findings here to help the investigation, that would be appreciated. How to reproduce the issue on Debian Stretch:
- install plain Debian Stretch
- install "vlc-plugin-video-output" package
- add "contrib" and "non-free" repositories
- add "stretch-backports" repository
- try to install "nvidia-driver" package - failed, broken deps
- install "libgl1-nvidia-glvnd-glx" package
- try to install "nvidia-driver" package again - installed correctly
@Marcus
Thanks for reporting.
$ sudo apt update
$ sudo apt full-upgrade
$ sudo apt install nvidia-driver
Other than that, you may have issues with your Debian repository update or APT cache list or Held packages.
]]>@JimW thanks for the quick translation help.
@q4osteam the repositories look like this:
deb http://q4os.org/q4repo q4os-2-0-cn main
deb http://q4os.org/qtderepo stretch main
deb http://ftp.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://ftp.debian.org/debian/ stretch-updates main contrib non-free
deb http://ftp.debian.org/debian/ stretch-backports main contrib non-free
deb [arch=amd64] http://q4os.org/qextrepo stretch-chrome-cn main
deb http://q4os.org/qextrepo stretch-firefox-cn main
deb http://q4os.org/qextrepo stretch-libreoffice-cn main
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
This is the output when I try to install the nvidia-driver using apt:
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:
nvidia-driver : Depends: nvidia-driver-libs (= 390.87-8~deb9u1) but it is not going to be installed or
nvidia-driver-libs-nonglvnd (= 390.87-8~deb9u1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I have the following nvidia card (not sure if it matters though)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce GT 520M] (rev a1)
This is the version of Q4OS I have installed on the machine:
cat /etc/q4os_version
2.7.2-n1
Greetings
Marcus
$ qrepolist
$ sudo apt install nvidia-driver
"The following information may help you to resolve the situation:
The following packages have unmet dependencies:
nvidia-driver: Depends on: nvidia-driver-libs (= 390.87-8 ~ deb9u1) but should not be installed or
However, nvidia-driver-libs-nonglvnd (= 390.87-8 ~ deb9u1) should not be installed
E: Problems can not be corrected, you have retained defective packages.
Testing installation ... Done"
Also, more details are required to proper debug it, what hardware are you running, specifically what Nvidia graphics card/chipset/model are you trying to install. Is your install of Q4OS 2.x "Scorpion" default or have changed anything in the sources list, added repositories, etc.?
]]>I am trying to install the NVidia drivers using the Setup Wizard. The system is on Q4OS Scorpion and has already all the latest updates. The installation fails with the following error:
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
nvidia-driver : Hängt ab von: nvidia-driver-libs (= 390.87-8~deb9u1) soll aber nicht installiert werden oder
nvidia-driver-libs-nonglvnd (= 390.87-8~deb9u1) soll aber nicht installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
Testing installation ... Done
Greetings
Marcus