Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

nvidia installer not working

Report Bugs, Issues and non- package Requests
Message
Author
mxuserjohn
Posts: 9
Joined: Sun May 06, 2018 2:09 pm

nvidia installer not working

#1 Post 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?

User avatar
dolphin_oracle
Developer
Posts: 19832
Joined: Sun Dec 16, 2007 1:17 pm

Re: nvidia installer not working

#2 Post 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.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

mxuserjohn
Posts: 9
Joined: Sun May 06, 2018 2:09 pm

Re: nvidia installer not working

#3 Post 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.
You do not have the required permissions to view the files attached to this post.

User avatar
dolphin_oracle
Developer
Posts: 19832
Joined: Sun Dec 16, 2007 1:17 pm

Re: nvidia installer not working

#4 Post 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.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

mxuserjohn
Posts: 9
Joined: Sun May 06, 2018 2:09 pm

Re: nvidia installer not working

#5 Post 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.

User avatar
Stevo
Developer
Posts: 12745
Joined: Fri Dec 15, 2006 8:07 pm

Re: nvidia installer not working

#6 Post 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.

mxuserjohn
Posts: 9
Joined: Sun May 06, 2018 2:09 pm

Re: nvidia installer not working

#7 Post 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)
You do not have the required permissions to view the files attached to this post.

User avatar
Stevo
Developer
Posts: 12745
Joined: Fri Dec 15, 2006 8:07 pm

Re: nvidia installer not working

#8 Post by Stevo »

Some diagnostics would be to show us the result of

Code: Select all

inxi -r
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.

User avatar
dolphin_oracle
Developer
Posts: 19832
Joined: Sun Dec 16, 2007 1:17 pm

Re: nvidia installer not working

#9 Post 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

Code: Select all

sudo ddm-mx -p nvidia
then

Code: Select all

sudo apt autoremove
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.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

mxuserjohn
Posts: 9
Joined: Sun May 06, 2018 2:09 pm

Re: nvidia installer not working

#10 Post 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.

Post Reply

Return to “Bugs and Non-Package Requests Forum”