Pkg Upgrade: mesa-libs conflicts with nvidia



Reaction score: 3
Messages: 52

Just ran pkg upgrade in a GUI jail (name of the jail is 0kde). I have an nvidia graphics card, and I got this message:

[0kde] [20/535] Upgrading mesa-libs from 19.0.8_2 to 19.0.8_3...
pkg: mesa-libs-19.0.8_3 conflicts with nvidia-driver-440.100 (installs files into the same place). Problematic file: /usr/local/lib/
root@0kde:~ #

I can't quite tell if I even need mesa libs/drivers installed. I think nvidia does it all, and the mesa stuff just symlinks to nvidia files. At the same time, I don't want to go mucking around with that, I'm likely to multiply my problems. Any advice?



Reaction score: 3
Messages: 22


nvidia-driver: 440.100_1 depends on:

mesa-dri: 19.0.8_9
mesa-libs: 19.0.8_3

(among other pkgs)

Also if you check :

Name : nvidia-driver-440.100_1
Desc : NVidia graphics card binary drivers for hardware OpenGL rendering
Repo : FreeBSD
Filename: usr/local/lib32/

Name : mesa-libs-19.0.8_3
Desc : OpenGL libraries that support GLX and EGL clients
Repo : FreeBSD
Filename: usr/local/lib/

so they should not conflict or try to install files in same place.

Also i tried to install nvidia-driver: 440.100_1 it went through without any problems


Aspiring Daemon

Reaction score: 150
Messages: 518

happen the same to me, the solution was install the nvidia driver from packages instead from ports
I sure that mantainers will be fix this soon


New Member

Messages: 1

I am seeing this problem in FreeBSD 12.2. I had just upgraded from FreeBSD 12.1 -

[35/712] Upgrading mesa-libs from 18.3.2_3 to 19.0.8_3...
pkg: mesa-libs-19.0.8_3 conflicts with nvidia-driver-390-390.129 (installs files into the same place). Problematic file: /usr/local/lib/

In my case both are installed from packages while the posters above seem to indicate this was a Package and Ports conflict.

Is this the same issue?