You are not logged in.

#1 2013-04-14 06:14:18

axper
Member
Registered: 2013-01-25
Posts: 115

[SOLVED] File conflict mesa/nvidia

I am trying to install mesa

$ sudo pacman -S mesa
warning: mesa-9.1.1-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1): mesa-9.1.1-1

Total Installed Size:   127.38 MiB

:: Proceed with installation? [Y/n] 
(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%
error: failed to commit transaction (conflicting files)
mesa: /etc/drirc exists in filesystem
mesa: /usr/include/EGL/egl.h exists in filesystem
mesa: /usr/include/EGL/eglext.h exists in filesystem
mesa: /usr/include/EGL/eglmesaext.h exists in filesystem
mesa: /usr/include/EGL/eglplatform.h exists in filesystem
mesa: /usr/include/GL/gl.h exists in filesystem
mesa: /usr/include/GL/gl_mangle.h exists in filesystem
mesa: /usr/include/GL/glext.h exists in filesystem
mesa: /usr/include/GL/glx.h exists in filesystem
mesa: /usr/include/GL/glx_mangle.h exists in filesystem
mesa: /usr/include/GL/glxext.h exists in filesystem
mesa: /usr/include/GL/internal/dri_interface.h exists in filesystem
mesa: /usr/include/GL/osmesa.h exists in filesystem
mesa: /usr/include/GL/wglext.h exists in filesystem
mesa: /usr/include/GL/wmesa.h exists in filesystem
mesa: /usr/include/GLES/egl.h exists in filesystem
mesa: /usr/include/GLES/gl.h exists in filesystem
mesa: /usr/include/GLES/glext.h exists in filesystem
mesa: /usr/include/GLES/glplatform.h exists in filesystem
mesa: /usr/include/GLES2/gl2.h exists in filesystem
mesa: /usr/include/GLES2/gl2ext.h exists in filesystem
mesa: /usr/include/GLES2/gl2platform.h exists in filesystem
mesa: /usr/include/GLES3/gl3.h exists in filesystem
mesa: /usr/include/GLES3/gl3ext.h exists in filesystem
mesa: /usr/include/GLES3/gl3platform.h exists in filesystem
mesa: /usr/include/KHR/khrplatform.h exists in filesystem
mesa: /usr/include/gbm.h exists in filesystem
mesa: /usr/include/xa_composite.h exists in filesystem
mesa: /usr/include/xa_context.h exists in filesystem
mesa: /usr/include/xa_tracker.h exists in filesystem
mesa: /usr/lib/egl/egl_gallium.so exists in filesystem
mesa: /usr/lib/gallium-pipe/pipe_swrast.so exists in filesystem
mesa: /usr/lib/gbm/gbm_gallium_drm.so exists in filesystem
mesa: /usr/lib/libEGL.so exists in filesystem
mesa: /usr/lib/libEGL.so.1 exists in filesystem
mesa: /usr/lib/libEGL.so.1.0.0 exists in filesystem
mesa: /usr/lib/libGLESv1_CM.so exists in filesystem
mesa: /usr/lib/libGLESv1_CM.so.1 exists in filesystem
mesa: /usr/lib/libGLESv1_CM.so.1.1.0 exists in filesystem
mesa: /usr/lib/libGLESv2.so exists in filesystem
mesa: /usr/lib/libGLESv2.so.2 exists in filesystem
mesa: /usr/lib/libGLESv2.so.2.0.0 exists in filesystem
mesa: /usr/lib/libOSMesa.so exists in filesystem
mesa: /usr/lib/libOSMesa.so.8 exists in filesystem
mesa: /usr/lib/libOSMesa.so.8.0.0 exists in filesystem
mesa: /usr/lib/libgbm.so exists in filesystem
mesa: /usr/lib/libgbm.so.1 exists in filesystem
mesa: /usr/lib/libgbm.so.1.0.0 exists in filesystem
mesa: /usr/lib/libglapi.so exists in filesystem
mesa: /usr/lib/libglapi.so.0 exists in filesystem
mesa: /usr/lib/libglapi.so.0.0.0 exists in filesystem
mesa: /usr/lib/libllvmradeon9.1.1.so exists in filesystem
mesa: /usr/lib/libwayland-egl.so exists in filesystem
mesa: /usr/lib/libwayland-egl.so.1 exists in filesystem
mesa: /usr/lib/libwayland-egl.so.1.0.0 exists in filesystem
mesa: /usr/lib/mesa-libGL.so.1.2.0 exists in filesystem
mesa: /usr/lib/pkgconfig/dri.pc exists in filesystem
mesa: /usr/lib/pkgconfig/egl.pc exists in filesystem
mesa: /usr/lib/pkgconfig/gbm.pc exists in filesystem
mesa: /usr/lib/pkgconfig/gl.pc exists in filesystem
mesa: /usr/lib/pkgconfig/glesv1_cm.pc exists in filesystem
mesa: /usr/lib/pkgconfig/glesv2.pc exists in filesystem
mesa: /usr/lib/pkgconfig/osmesa.pc exists in filesystem
mesa: /usr/lib/pkgconfig/wayland-egl.pc exists in filesystem
mesa: /usr/lib/pkgconfig/xatracker.pc exists in filesystem
mesa: /usr/lib/vdpau/libvdpau_softpipe.so exists in filesystem
mesa: /usr/lib/vdpau/libvdpau_softpipe.so.1 exists in filesystem
mesa: /usr/lib/vdpau/libvdpau_softpipe.so.1.0.0 exists in filesystem
mesa: /usr/lib/xorg/modules/dri/swrast_dri.so exists in filesystem
mesa: /usr/share/licenses/mesa/LICENSE exists in filesystem
Errors occurred, no packages were upgraded.

Previously I had insalled some nvidia drivers, following beginner's guide

$ pacman -Ss nvidia | grep installed
extra/libcl 1.1-3 [installed]
extra/libvdpau 0.6-1 [installed]
extra/nvidia 313.30-3 [installed]
extra/nvidia-libgl 313.30-2 [installed]
extra/nvidia-utils 313.30-2 [installed]

What can I do? I have probably installed packages which are not needed, but can't figure out which ones.

Additional info: previously I was getting this message from pacman anytime installing a package, but I just deleted the files.

ldconfig: File /usr/lib/libdricore9.1.1.so.1 is empty, not checked.
ldconfig: File /usr/lib/libxatracker.so.1 is empty, not checked.
ldconfig: File /usr/lib/libxatracker.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libdricore9.1.1.so is empty, not checked.
ldconfig: File /usr/lib/libxatracker.so is empty, not checked.
ldconfig: File /usr/lib/libdricore9.1.1.so.1.0.0 is empty, not checked.

Here's my pacman log.
Any help appreciated.

Last edited by axper (2013-04-14 08:33:03)

Offline

#2 2013-04-14 07:55:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] File conflict mesa/nvidia

Pretty sure this doesn't have anything to do with nvidia. Sounds to me like you have a damaged previous installation of mesa. Pacman -Qi mesa

Edited to add link: https://wiki.archlinux.org/index.php/Pa … stem.22.21

Last edited by Scimmia (2013-04-14 07:57:23)

Offline

#3 2013-04-14 08:15:40

axper
Member
Registered: 2013-01-25
Posts: 115

Re: [SOLVED] File conflict mesa/nvidia

$ pacman -Qi mesa
Name           : mesa
Version        : 9.1.1-1
Description    : None
Architecture   : None
URL            : None
Licenses       : None
Groups         : None
Provides       : None
Depends On     : None
Optional Deps  : None
Required By    : cairo
Optional For   : None
Conflicts With : None
Replaces       : None
Installed Size :   0.00 KiB
Packager       : None
Build Date     : None
Install Date   : None
Install Reason : Explicitly installed
Install Script : No
Validated By   : Unknown
$ pacman -Qo /usr/include/GL/gl.h
error: No package owns /usr/include/GL/gl.h

No package owns other files as well.
I did not manually install any packages, this is a fresh installed system.

$ ls -l /var/lib/pacman/local/mesa-9.1.1-1/
total 0
-rw-r--r-- 1 root root 0 Apr 13 21:29 desc
-rw-r--r-- 1 root root 0 Apr 13 21:29 files

I've heard horrible things about --force, should I use it?

Offline

#4 2013-04-14 08:21:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] File conflict mesa/nvidia

Well the pacman -Qi output and the ls -l you posted confirm it, your pacman database entry for mesa is damaged. --force is dangerous because it can be used to overwrite things when they shouldn't be overwritten. In this case, it's overwriting files that were put there by the mesa package in the first place but pacman just "forgot" about them, so it should be safe.

Like the Wiki entry says, make sure you only force the single package, pacman -S mesa. I just want to reiterate for those that come across this post later that you should never, ever do a pacman -Syu --force.

Last edited by Scimmia (2013-04-14 08:23:21)

Offline

#5 2013-04-14 08:32:46

axper
Member
Registered: 2013-01-25
Posts: 115

Re: [SOLVED] File conflict mesa/nvidia

Thank you, I did pacman -S --force mesa and it seems to work fine now.

Offline

#6 2013-04-14 08:35:44

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: [SOLVED] File conflict mesa/nvidia

Axper, I'm glad you got this worked out. Please add [Solved] to your thread title. [Awful internet connection; failed to see that you updated the title already. My apologies]

All the best,

-HG

Last edited by HalosGhost (2013-04-14 08:38:17)

Offline

Board footer

Powered by FluxBB