You are not logged in.

#1 2015-11-24 13:17:06

herOldMan
Member
Registered: 2013-10-11
Posts: 151

(Solved) NVidia conflicts at upgrade

At upgrade we are seeing:

 
~$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: removing 'nvidia-utils' from target list because it conflicts with 'nvidia-340xx-utils'
:: nvidia-340xx-utils and nvidia-utils are in conflict. Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia: requires nvidia-utils=358.16

Is it safe to assume that the repositories haven't caught up yet and that waiting a while will clear the fault... or, do I have a more sinister configuration issue?

Last edited by herOldMan (2015-11-24 19:04:58)

Offline

#2 2015-11-24 13:38:35

carkasjak
Member
Registered: 2015-10-17
Posts: 5

Re: (Solved) NVidia conflicts at upgrade

340xx is the legacy branch of nvidia drivers, and your pacman upgrade appears to be attempting to install the current branch of the drivers, while keeping the 340xx branch of nvidia-utils. I don't know why this would happen, but maybe someone more experienced than me can tell you.

If it were me I would probably try uninstalling the nvidia drivers and utils first, and then reinstalling the latest version of both. Depends on whether or not you NEED to be on the legacy branch, though. Which graphics card do you have?

Offline

#3 2015-11-24 14:08:15

herOldMan
Member
Registered: 2013-10-11
Posts: 151

Re: (Solved) NVidia conflicts at upgrade

VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti]

Offline

#4 2015-11-24 15:16:54

carkasjak
Member
Registered: 2015-10-17
Posts: 5

Re: (Solved) NVidia conflicts at upgrade

358.16 supports that card, so you should probably be on the regular nvidia branch and not nvidia-340xx

Offline

#5 2015-11-27 01:55:52

KirkyD
Member
Registered: 2015-02-21
Posts: 5

Re: (Solved) NVidia conflicts at upgrade

I'm getting the same error w/ this graphic card:

VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)

trying to 'Remove nvidia-utils' as above fails. what did you end up doing, waiting or uninstalling nvidia-utils and all the deps to start over?

Offline

#6 2015-11-27 02:10:16

KirkyD
Member
Registered: 2015-02-21
Posts: 5

Re: (Solved) NVidia conflicts at upgrade

never mind... here's what I did to get things going.

pacman -S nvidia

then I got this error:

Packages (2) nvidia-utils-358.16-1  nvidia-358.16-2.1

Total Download Size:    24.79 MiB
Total Installed Size:  102.61 MiB
Net Upgrade Size:        2.27 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages ...
 nvidia-utils-358.16-1-x86_64                                         20.3 MiB   685K/s 00:30 [######################################################] 100%
 nvidia-358.16-2.1-x86_64                                              4.5 MiB   593K/s 00:08 [######################################################] 100%
(2/2) checking keys in keyring                                                                [######################################################] 100%
(2/2) checking package integrity                                                              [######################################################] 100%
(2/2) loading package files                                                                   [######################################################] 100%
(2/2) checking for file conflicts                                                             [######################################################] 100%
error: failed to commit transaction (conflicting files)
nvidia-utils: /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf exists in filesystem
Errors occurred, no packages were upgraded.

it didn't look like there was anything too important in the conflicting file, so I used the --force switch to overwrite it. So far, so good.

Offline

#7 2015-11-27 04:12:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,541

Re: (Solved) NVidia conflicts at upgrade

KirkyD wrote:

nvidia-utils: /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf exists in filesystem

This sounds like a partial update.

Offline

#8 2015-11-28 19:12:28

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: (Solved) NVidia conflicts at upgrade

KirkyD wrote:
pacman -S nvidia
...
nvidia-utils: /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf exists in filesystem

Doing -S instead of -Syu probably means you did a partial update, which is bad news, especially with the current documented problems between nVidia and Xorg 1.18 (now fixed, I believe). You can check which package owns that conflicting file using pacman -Qo, but you probably have to do a full update first.

Offline

#9 2015-12-02 16:02:39

jaws84
Member
Registered: 2015-12-02
Posts: 4

Re: (Solved) NVidia conflicts at upgrade

As per the last message from twelveeighty a partial update is not a good idea.
I'm experiencing the same issue with this card

NVIDIA Corporation C79 [GeForce G102M] (rev b1)

what would be the correct way to solve this issue?

Offline

#10 2015-12-03 13:25:03

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: (Solved) NVidia conflicts at upgrade

That file used to come with xorg-server , but appears to have been moved to nvidia-utils -* packages.

If a full update gives that conflict , nvidia-utils is probably updated before xorg-server .

For this specific case renaming/moving the conflicting file before running the full update is imo the easiest way to solve it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#11 2015-12-05 22:23:52

jaws84
Member
Registered: 2015-12-02
Posts: 4

Re: (Solved) NVidia conflicts at upgrade

I just did pacman -S on all my installed xorg packages and retried with pacman -Syu including renaming the nvidia-drm-outputclass.conf file as suggested above
but still got the following output:

:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nvidia-304xx-utils and nvidia-340xx-utils are in conflict

my currently installed nvidia packages is listed below:

  • lib32-nvidia-304xx-libgl 304.128-1

  • lib32-nvidia-304xx-utils 304.128-1

  • nvidia-340xx 340.93-4

  • nvidia-340xx-libgl 340.93-1

  • nvidia-340xx-utils 340.93-1

Offline

#12 2015-12-05 22:29:30

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: (Solved) NVidia conflicts at upgrade

Why are you mixing and matching driver versions?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#13 2015-12-05 22:53:54

jaws84
Member
Registered: 2015-12-02
Posts: 4

Re: (Solved) NVidia conflicts at upgrade

hmm.. good question. I only now noticed the 340 and 304 wasn't the same hmm
on a x86_64 system, I guess I could be without the lib32 bits

[EDIT]
When trying to remove the lib32 versions, I get a dependecy issue. appearently I have some lib32 qt installed too.

I might need some serious clean up of packages that I don't need anymore.

[EDIT2]
Those packages are required by wine ....

[EDIT3]
Removing Wine and Skype with pacman -Rs solved my problem. Now I can do a full system update.

Last edited by jaws84 (2015-12-05 23:42:30)

Offline

#14 2015-12-06 02:09:41

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 258
Website

Re: (Solved) NVidia conflicts at upgrade

You may want to have a look at the wiki page for nvidia as it seems like you have not done so. There should be no need for you to use the nvidia legacy driver which you seem to be using.

Offline

#15 2015-12-06 19:57:01

jaws84
Member
Registered: 2015-12-02
Posts: 4

Re: (Solved) NVidia conflicts at upgrade

My NVIDIA GeForce G102M is on the list of legacy devices and hence the legacy driver is the right one to use.
The issue I had was that during installation of skype, I had chosen the wrong video driver, which had always been in conflict my main video driver.

Offline

#16 2015-12-06 23:50:22

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 258
Website

Re: (Solved) NVidia conflicts at upgrade

jaws84 wrote:

My NVIDIA GeForce G102M is on the list of legacy devices and hence the legacy driver is the right one to use.
The issue I had was that during installation of skype, I had chosen the wrong video driver, which had always been in conflict my main video driver.

My apologies, I seem to have misread the post where you stated what card you are using.

Offline

Board footer

Powered by FluxBB