You are not logged in.

#1 2017-10-28 13:06:58

jiros
Member
From: Abadan, Khuzestan, Iran
Registered: 2013-10-23
Posts: 80

[Solved] Install Nvidia package after Nvidia-340xx

Hi guys
I had an old card that's why I had installed nvidia340xx and nvidia340xx-utils + lib32s.
and now, I got a newer card and need to install Nvidia instead of Nvidia340xx and the promblem persists on :

sohrab@Arch-PC ~]$ sudo pacman -S nvidia
resolving dependencies...
looking for conflicting packages...
:: nvidia and nvidia-340xx are in conflict. Remove nvidia-340xx? [y/N] y
:: nvidia-utils and nvidia-340xx-utils are in conflict. Remove nvidia-340xx-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-nvidia-340xx-utils: removing nvidia-340xx-utils breaks dependency 'nvidia-340xx-utils'

What should I do ?
Any idea ?
---------------------------------
needed output:
pacman -Qi :

[sohrab@Arch-PC ~]$ sudo pacman -Qi nvidia-340xx
Name            : nvidia-340xx
Version         : 340.104-2
Description     : NVIDIA drivers for linux, 340xx legacy branch
Architecture    : x86_64
URL             : http://www.nvidia.com/
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : linux>=4.13  linux<4.14  libgl  nvidia-340xx-utils=340.104
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : nvidia
Replaces        : None
Installed Size  : 4.70 MiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : Thu 12 Oct 2017 04:44:49 PM +0330
Install Date    : Sat 28 Oct 2017 03:03:33 PM +0330
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

and

sohrab@Arch-PC ~]$ sudo pacman -Qi nvidia-340xx-utils
Name            : nvidia-340xx-utils
Version         : 340.104-1
Description     : NVIDIA drivers utilities
Architecture    : x86_64
URL             : http://www.nvidia.com/
Licenses        : custom
Groups          : None
Provides        : libgl  libgles  libegl  nvidia-utils  nvidia-340xx-libgl
Depends On      : xorg-server
Optional Deps   : gtk2: nvidia-settings [installed]
                  xorg-server-devel: nvidia-xconfig [installed]
                  opencl-nvidia-340xx: OpenCL support [installed]
Required By     : clementine  glu  gnome-session  lib32-nvidia-340xx-utils  libva  mpv  nvidia-340xx  qt4  qt5-base  sdl2  webkitgtk  xorg-server  xorg-server-xwayland
Optional For    : alsaplayer
Conflicts With  : nvidia-304xx-utils  nvidia-utils  nvidia-340xx-libgl
Replaces        : nvidia-340xx-libgl
Installed Size  : 132.32 MiB
Packager        : Sven-Hendrik Haase <sh@lutzhaase.com>
Build Date      : Mon 02 Oct 2017 02:11:46 PM +0330
Install Date    : Sat 28 Oct 2017 03:01:49 PM +0330
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : Signature

and

sudo pacman -Qi nvidia-340xx-libgl
error: package 'nvidia-340xx-libgl' was not found

Last edited by jiros (2017-10-28 14:40:57)


Freedom of mind with ArchLinux

Offline

#2 2017-10-28 13:16:22

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: [Solved] Install Nvidia package after Nvidia-340xx

pacman -S mesa-libgl
pacman -Rs nvidia-340xx-utils nvidia-340xx
pacman -S nvidia

Last edited by graysky (2017-10-28 13:16:38)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2017-10-28 13:19:12

jiros
Member
From: Abadan, Khuzestan, Iran
Registered: 2013-10-23
Posts: 80

Re: [Solved] Install Nvidia package after Nvidia-340xx

[sohrab@Arch-PC ~]$ sudo pacman -S mesa-libgl
warning: mesa-17.2.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) mesa-17.2.3-1

Total Installed Size:  52.84 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                               [################################################################] 100%
(1/1) checking package integrity                                                                             [################################################################] 100%
(1/1) loading package files                                                                                  [################################################################] 100%
(1/1) checking for file conflicts                                                                            [################################################################] 100%
(1/1) checking available disk space                                                                          [################################################################] 100%
:: Processing package changes...
(1/1) reinstalling mesa                                                                                      [################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[sohrab@Arch-PC ~]$ sudo pacman -Rs nvidia-340xx-utils nvidia-340xx
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-nvidia-340xx-utils: removing nvidia-340xx-utils breaks dependency 'nvidia-340xx-utils'

first command ok, but second ....
Thanks for answer.


Freedom of mind with ArchLinux

Offline

#4 2017-10-28 13:22:19

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: [Solved] Install Nvidia package after Nvidia-340xx

Try adding lib32-nvidia-340xx-utils to the 2nd command as well.  Didn't see you had the 32bit crap in there.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2017-10-28 13:24:25

jiros
Member
From: Abadan, Khuzestan, Iran
Registered: 2013-10-23
Posts: 80

Re: [Solved] Install Nvidia package after Nvidia-340xx

[sohrab@Arch-PC ~]$ sudo pacman -Rs nvidia-340xx-utils nvidia-340xx lib32-nvidia-340xx-utils
[sudo] password for sohrab: 
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-glu: removing lib32-nvidia-340xx-utils breaks dependency 'lib32-libgl'
:: steam: removing lib32-nvidia-340xx-utils breaks dependency 'lib32-libgl'

Freedom of mind with ArchLinux

Offline

#6 2017-10-28 13:30:05

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,645
Website

Re: [Solved] Install Nvidia package after Nvidia-340xx

Might have to remove steam and deps first.  Haven't experienced this situation in a long time.  Sorry.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2017-10-28 13:33:13

jiros
Member
From: Abadan, Khuzestan, Iran
Registered: 2013-10-23
Posts: 80

Re: [Solved] Install Nvidia package after Nvidia-340xx

Thanks anyway.
Any other idea ?


Freedom of mind with ArchLinux

Offline

#8 2017-10-28 13:42:09

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 755

Re: [Solved] Install Nvidia package after Nvidia-340xx

pacman -S nvidia nvidia-utils lib32-nvidia-utils

Pass them all together, not one by one (they are all intertwined with dependancies), pacman will ask you if you want to replace 340xx packages with those

Online

#9 2017-10-28 13:47:35

jiros
Member
From: Abadan, Khuzestan, Iran
Registered: 2013-10-23
Posts: 80

Re: [Solved] Install Nvidia package after Nvidia-340xx

[sohrab@Arch-PC ~]$ sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils
[sudo] password for sohrab: 
resolving dependencies...
looking for conflicting packages...
:: nvidia and nvidia-340xx are in conflict. Remove nvidia-340xx? [y/N] y
:: nvidia-utils and nvidia-340xx-utils are in conflict. Remove nvidia-340xx-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-nvidia-340xx-utils: removing nvidia-340xx-utils breaks dependency 'nvidia-340xx-utils'
[sohrab@Arch-PC ~]$ 

Thanks for answer, but any other idea ?


Freedom of mind with ArchLinux

Offline

#10 2017-10-28 13:53:27

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 755

Re: [Solved] Install Nvidia package after Nvidia-340xx

You have something that depends on lib32-nvidia340xx-utils, run pacman -Qi lib32-nvidia-340xx-utils and look for Requred by to see what it is.

Last edited by Xabre (2017-10-28 14:07:07)

Online

#11 2017-10-28 13:58:19

jiros
Member
From: Abadan, Khuzestan, Iran
Registered: 2013-10-23
Posts: 80

Re: [Solved] Install Nvidia package after Nvidia-340xx

[sohrab@Arch-PC ~]$ sudo pacman -Qi lib32-nvidia-340xx-utils
Name            : lib32-nvidia-340xx-utils
Version         : 340.104-1
Description     : NVIDIA drivers utilities (32-bit)
Architecture    : x86_64
URL             : http://www.nvidia.com/
Licenses        : custom
Groups          : None
Provides        : lib32-libgl  lib32-libegl  lib32-libgles  lib32-nvidia-340xx-libgl
Depends On      : lib32-zlib  lib32-gcc-libs  nvidia-340xx-utils
Optional Deps   : lib32-opencl-nvidia-340xx
Required By     : lib32-glu  steam
Optional For    : None
Conflicts With  : lib32-nvidia-340xx-libgl
Replaces        : lib32-nvidia-340xx-libgl
Installed Size  : 93.33 MiB
Packager        : Sven-Hendrik Haase <sh@lutzhaase.com>
Build Date      : Mon 02 Oct 2017 02:10:26 PM +0330
Install Date    : Sat 28 Oct 2017 03:42:12 PM +0330
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Last edited by jiros (2017-10-28 13:59:08)


Freedom of mind with ArchLinux

Offline

#12 2017-10-28 14:00:13

jiros
Member
From: Abadan, Khuzestan, Iran
Registered: 2013-10-23
Posts: 80

Re: [Solved] Install Nvidia package after Nvidia-340xx

Please edit your suggested command in your reply maybe someone else want to use that and copy\paste that. you've written """lib32-nvidia340xx-utils""" instead of lib32-nvidia-340xx-utils

Last edited by jiros (2017-10-28 14:00:39)


Freedom of mind with ArchLinux

Offline

#13 2017-10-28 14:05:48

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 755

Re: [Solved] Install Nvidia package after Nvidia-340xx

Seems that there might be a slight conflict with lib32-libgl, lib32-nvidia-utils is supposed to provide it, but it's not installed yet.

Try this.

 pacman -Rdd lib32-nvidia-340xx-utils

which will ignore dependancy checks

then right after run

pacman -S nvidia nvidia-utils lib32-nvidia-utils

Last edited by Xabre (2017-10-28 14:27:28)

Online

#14 2017-10-28 14:15:30

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,462
Website

Re: [Solved] Install Nvidia package after Nvidia-340xx

Open a bug report against lib32-nvidia-340xx-utils, it should conflict with lib32-nvidia-utils (like lib32-nvidia-304xx-utils does). If the conflict was declared, pacman would prompt you to replace lib32-nvidia-340xx-utils with lib32-nvidia-utils. Until this oversight is fixed, Xabre's solution is the best workaround.


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

#15 2017-10-28 14:40:18

jiros
Member
From: Abadan, Khuzestan, Iran
Registered: 2013-10-23
Posts: 80

Re: [Solved] Install Nvidia package after Nvidia-340xx

May you do that please WorMzy?
I don't know how!

Last edited by jiros (2017-10-28 14:40:30)


Freedom of mind with ArchLinux

Offline

#16 2017-10-28 23:22:27

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,462
Website

Re: [Solved] Install Nvidia package after Nvidia-340xx


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

Board footer

Powered by FluxBB