Page 1 of 3
nvidia installer not working
Posted: Sun May 06, 2018 2:19 pm
by mxuserjohn
On a fresh installation of MX 17.1 x64 (tried twice now) the nvidia installer is not working. It says that the following packages have unmet dependencies that will not be installed.
nvidia-driver : Depends: nvidia-driver-libs (=384.111-3~~mx17+1) but it is not going to be installed or nvidia-driver-libs-nonglvnd (=384.111-3~~mx17+1) but it is not going to be installed.
E: unable to correct problems, you have held broken packages.
This has always worked for me in the past on this laptop (Dell Inspiron 7537 with NVidia Optimus - intel + GT 750M) but is no longer working. Do you need to update something in the installer script?
Re: nvidia installer not working
Posted: Sun May 06, 2018 2:21 pm
by dolphin_oracle
mxuserjohn wrote:On a fresh installation of MX 17.1 x64 (tried twice now) the nvidia installer is not working. It says that the following packages have unmet dependencies that will not be installed.
nvidia-driver : Depends: nvidia-driver-libs (=384.111-3~~mx17+1) but it is not going to be installed or nvidia-driver-libs-nonglvnd (=384.111-3~~mx17+1) but it is not going to be installed.
E: unable to correct problems, you have held broken packages.
This has always worked for me in the past on this laptop (Dell Inspiron 7537 with NVidia Optimus - intel + GT 750M) but is no longer working. Do you need to update something in the installer script?
already have. just update the ddm-mx package before trying to install the drivers.
Re: nvidia installer not working
Posted: Sun May 06, 2018 3:06 pm
by mxuserjohn
I tried that. Still not working. I applied all updates, did the autoremove for any left over stuff, checked the ddm-mx in Synaptic (says latest version 18.03.01) and it's still failing. new errors this time and different versions referred to (390.48-2~mx17+1) but still says the same thing about recommended dependencies not going to be installed and unable to correct because of held broken packages.
Re: nvidia installer not working
Posted: Sun May 06, 2018 3:08 pm
by dolphin_oracle
have you tried just the regular repo version and not debian-backports?
note: they have apparently have not updated nvidia-settings in debian-backports, even though their driver recommends call for a later version.
it other words...debian-backports broke the nvidia driver settings, again.
Re: nvidia installer not working
Posted: Sun May 06, 2018 3:26 pm
by mxuserjohn
thanks for the help, but no luck. I just ran the installer again, and this time did not pick the backports version, and still same problem.
Re: nvidia installer not working
Posted: Sun May 06, 2018 4:16 pm
by Stevo
mxuserjohn wrote:thanks for the help, but no luck. I just ran the installer again, and this time did not pick the backports version, and still same problem.
What error do you get now? The same as in the beginning? There should not be any mention of 390.48 without the stretch-backports or our test repo enabled?
For what it's worth, I can have the drivers and the 384.111 nvidia-settings installed at the same time on my Optimus system, but we will have the new nvidia-settings in the test repo shortly.
Re: nvidia installer not working
Posted: Sun May 06, 2018 5:20 pm
by mxuserjohn
I just tried again, chose no backports, and had the Test repo removed from Synaptics repositories. Still same problem. Unmet dependencies and broken held packages. Weird - this always used to work on this laptop - was one of my favorite things about this distro (aside from being super fast and efficient)
Re: nvidia installer not working
Posted: Sun May 06, 2018 5:27 pm
by Stevo
Some diagnostics would be to show us the result of
and the results of trying to install one of those problem packages on the command line, such as
Code: Select all
sudo apt install nvidia-driver-libs
If that fails due to another package causing issues, repeat the attempted install with that new problem package, and so on, until you get down to the root problem package, where there will be a more informative error message.
Re: nvidia installer not working
Posted: Sun May 06, 2018 5:29 pm
by dolphin_oracle
I just tried again, chose no backports, and had the Test repo removed from Synaptics repositories. Still same problem. Unmet dependencies and broken held packages. Weird - this always used to work on this laptop - was one of my favorite things about this distro (aside from being super fast and efficient)
have you dist-upgraded with the test repo enabled?
even if you haven't, we may have some conflicting libs do to the initial failure.
try
then
to get rid of any debian-backports libraries that may have come in. then try again with the usual installer, choosing the main mx repo.
**edit*** stevo give some good advice, maybe try that first.
Re: nvidia installer not working
Posted: Sun May 06, 2018 5:38 pm
by mxuserjohn
Thanks guys, I appreciate the help. So I did as you suggested and purged the existing drivers / files that may have been installed, and did the autoremove and tried again. No luck. Same errors.
The output from inxi-r is:
Repos: Active apt repos in: /etc/apt/sources.list.d/antix.list
1: deb
http://repo.antixlinux.com/stretch/ stretch main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb
http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb
http://ftp.ca.debian.org/debian/ stretch main contrib non-free
2: deb
http://security.debian.org/ stretch/updates main contrib non-free
3: deb
http://www.deb-multimedia.org/ stretch non-free main
4: deb
http://deb.debian.org/debian/ stretch-backports main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb
http://mxrepo.com/mx/repo/ stretch main non-free
No active apt repos in: /etc/apt/sources.list.d/various.list
and the result of trying to do the install nvidia-driver-libs is:
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:
libglx0 : Depends: libglx-mesa0 but it is not installable or
libglx-vendor
nvidia-driver-libs : Depends: libgl1-nvidia-glvnd-glx (= 384.111-3~~mx17+1) but it is not going to be installed
Depends: nvidia-egl-icd (= 384.111-3~~mx17+1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.