Can't install proprietary NVIDIA drivers with mhwd

Good day.
I just installed the latest stable release of Manjaro on my old laptop and I had a problem when I tried to install video driver.
(By the way, the laptop is ASUS U500V. It has hybrid Intel + Nvidia graphics (GeForce GT 650M))
I downloaded and installed the system on open source drivers, but after installing and updating system, I deleted them and wanted to install proprietary ones, but the mhwd script gives something like this:

Installing video-hybrid-intel-nvidia-390xx-bumblebee...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-390xx-bumblebee/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
:: Synchronizing package databases...
  core downloading...
  extra downloading...
  community downloading...
  multilib downloading...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: primus will be installed before its bumblebee dependency

egl-wayland-2:1.1.11-3 eglexternalplatform-1.1-2 libxnvctrl-390xx-390.157-1 libxvmc-1.0.13-1 primus-20151110-9 bumblebee-3.2.1-23 lib32-nvidia- 390xx-utils-390.157-2 lib32-primus-20151110-5 linux61-bbswitch-0.8-15 linux61-nvidia-390xx-390.157-15 nvidia-390xx-utils-390.157-2 xf86-video-intel-1:2.99.917 +923+gb74b67f0-1

Total Installed Size: 214.04 MiB

:: Proceed with installation? [Y/n]
checking key ring...
checking package integrity...
loading package files...
checking for file conflicts...
error: failed to commit transaction (conflicting files)
/usr/lib/libnvidia-tls.so exists in both 'nvidia-390xx-utils' and 'lib32-nvidia-390xx-utils'
/usr/lib/libnvidia-tls.so.390.157 exists in both 'nvidia-390xx-utils' and 'lib32-nvidia-390xx-utils'
Errors occurred, no packages were upgraded.
Error: pacman failed!
Error: script failed!

I saw something similar in the topics on the this forum, but I only saw information on what to do if the problem manifests itself as

error: failed to commit transaction (conflicting files)
libname: /insert/file/name/here exists in filesystem

but my problem looks weirder

error: failed to commit transaction (conflicting files)
/usr/lib/libnvidia-tls.so exists in both 'nvidia-390xx-utils' and 'lib32-nvidia-390xx-utils'
/usr/lib/libnvidia-tls.so.390.157 exists in both 'nvidia-390xx-utils' and 'lib32-nvidia-390xx-utils'

And the strangest thing is that I don’t have any of these files in my file system at all.
Sorry if the question is stupid enough, but personally I’m desperate.

P.S.
And also I apologize in advance if I made a mistake in the category of the subforum to post it.


Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

Files /usr/lib/libnvidia-tls.so, /usr/lib/libnvidia-tls.so.390.157 should be removed from lib32-nvidia-390xx-utils package.

Well, if it’s the issue is with external package contents, how should I act to resolve it in my case? Should I just wait for package maintainers to resolve the issue or I can do something by myself? I don’t have package libx32-nvidia-390xx-utils installed, so it’s removal is not possible by definition.

Have a look at your first message. The system needs to install it. It is in the list of installing packages: egl-wayland-2:1.1.11-3 eglexternalplatform-1.1-2 libxnvctrl-390xx-390.157-1 libxvmc-1.0.13-1 primus-20151110-9 bumblebee-3.2.1-23 lib32-nvidia- 390xx-utils-390.157-2 lib32-primus-20151110-5 linux61-bbswitch-0.8-15 linux61-nvidia-390xx-390.157-15 nvidia-390xx-utils-390.157-2 xf86-video-intel-1:2.99.917 +923+gb74b67f0-1.

Same:

sudo pacman -S lib32-nvidia-390xx-utils  1 ✘
resolving dependencies…
looking for conflicting packages…
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-390xx-utils dependency

Packages (5) egl-wayland-2:1.1.11-3 eglexternalplatform-1.1-2 libxnvctrl-390xx-390.157-1
nvidia-390xx-utils-390.157-2 lib32-nvidia-390xx-utils-390.157-2

Total Installed Size: 194,87 MiB

:: Proceed with installation? [Y/n]
(5/5) checking keys in keyring [####################################] 100%
(5/5) checking package integrity [####################################] 100%
(5/5) loading package files [####################################] 100%
(5/5) checking for file conflicts [####################################] 100%
error: failed to commit transaction (conflicting files)
/usr/lib/libnvidia-tls.so exists in both ‘nvidia-390xx-utils’ and ‘lib32-nvidia-390xx-utils’
/usr/lib/libnvidia-tls.so.390.157 exists in both ‘nvidia-390xx-utils’ and ‘lib32-nvidia-390xx-utils’
Errors occurred, no packages were upgraded.

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

There is a conflict with package, wait for it to be looked at and resolved.

2 Likes

Ok, thanks you.

lib32-nvidia-390xx-utils is in the list of dependencies for the following packages: lib32-libglvnd, lib32-primus_vk, zsnes. Check if you have any of them installed and remove, but be sure you don’t need them. Otherwise smth won’t work (32 bit games, steam games, for example). Or follow omano’s suggestion above.

I have the same issue. Seems like the classic dependencies conflict.

I don’t think there’s any reason to try overriding it by manually deleting and reinstalling packages, let’s just hope devs will react soon.

2 Likes

Same issue in my system. Will be a solution for this?

this is still not fixed and i need to install something and it’s not working. literally, wasted my entire day trying to solve this.

i cant install new software and i cant update new software, i used a backup form 3 days ago and no matter what i get
error: failed to commit transaction (conflicting files)
/usr/lib/libnvidia-tls.so exists in both ‘nvidia-390xx-utils’ and ‘lib32-nvidia-390xx-utils’
/usr/lib/libnvidia-tls.so.390.157 exists in both ‘nvidia-390xx-utils’ and ‘lib32-nvidia-390xx-utils’

im close to giving up

Nice. That’s what I want to see. Thx to devs, and thanks to you for repost his message here.

Update mirrors so you get a mirror up to date with fixed package.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.