You are not logged in.

#1 2008-03-26 18:25:23

Deeno9
Member
From: Kleinfischlingen, Germany
Registered: 2008-03-26
Posts: 7
Website

"error: failed to commit transaction (conflicting files)"

I decidet to change to archlinux a few days ago, but now, i've got some problems with pacman. The problem seems to be a package called "mesa", which is needet for vlc and wine, here is the pacman output:

bash-3.2# pacman -S wine
resolving dependencies...
looking for inter-conflicts...

Targets: libungif-4.1.4-1  glproto-1.4.9-1  mesa-7.0.3rc2-1  freeglut-2.4.0-3 
         lcms-1.17-2  wine-0.9.56-1 

Total Download Size:    13.85 MB
Total Installed Size:   14.71 MB

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
freeglut-2.4.0-3-i686    184.0K   31.5K/s 00:00:06 [#####################] 100%
lcms-1.17-2-i686         266.1K   34.0K/s 00:00:08 [#####################] 100%
wine-0.9.56-1-i686        13.4M   43.0K/s 00:05:19 [#####################] 100%
checking package integrity...
(6/6) checking for file conflicts                   [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
mesa: /usr/include/GL/gl.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/glxext.h exists in filesystem
Errors occurred, no packages were upgraded.
bash-3.2#

I'm using the testing version of arch. I dont know anything about pacman, but i hope, you can help me with my problem. thank you

P.S: why cant i find amarok with pacman?

Offline

#2 2008-03-26 18:28:05

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: "error: failed to commit transaction (conflicting files)"

Have you updated your system yet?  pacman -Syu

Last edited by Cerebral (2008-03-26 18:28:24)

Offline

#3 2008-03-26 19:56:29

Deeno9
Member
From: Kleinfischlingen, Germany
Registered: 2008-03-26
Posts: 7
Website

Re: "error: failed to commit transaction (conflicting files)"

i updatet my system, but it didn't change anything:

bash-3.2# pacman -Syu
:: Synchronizing package databases...
testing is up to date
core is up to date
extra is up to date
community                347.5K   42.8K/s 00:00:08 [#####################] 100%
:: Starting full system upgrade...
local database is up to date
bash-3.2# pacman -S wine
resolving dependencies...
looking for inter-conflicts...

Targets: libungif-4.1.4-1  glproto-1.4.9-1  mesa-7.0.3rc2-1  freeglut-2.4.0-3 
         lcms-1.17-2  wine-0.9.56-1 

Total Download Size:    14.71 MB

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
libungif-4.1.4-1         128.2K   38.6K/s 00:00:03 [#####################] 100%
glproto-1.4.9-1-i686      21.0K   27.8K/s 00:00:01 [#####################] 100%
mesa-7.0.3rc2-1-i686     735.4K   42.5K/s 00:00:17 [#####################] 100%
freeglut-2.4.0-3-i686    184.0K   24.8K/s 00:00:07 [#####################] 100%
lcms-1.17-2-i686         266.1K   38.5K/s 00:00:07 [#####################] 100%
wine-0.9.56-1-i686        13.4M   42.4K/s 00:05:24 [#####################] 100%
checking package integrity...
(6/6) checking for file conflicts                   [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
mesa: /usr/include/GL/gl.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/glxext.h exists in filesystem
Errors occurred, no packages were upgraded.
bash-3.2#

ED: im sorry, i should use the search-function before writing, just deleting the file makes an installation possible, the problem is solved (i dont know why the error appeared, but i know how to fix, that's enough), so the thread can be closed (sorry again)

Last edited by Deeno9 (2008-03-26 20:47:40)

Offline

#4 2008-03-27 00:46:49

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: "error: failed to commit transaction (conflicting files)"

I'm thinking those files might have gotten "orphaned" on your filesystem - not sure how, but they became disassociated with any package, so pacman thought they were there 'cause you put them there yourself, or through installing some other software.

Basically, if pacman -Sf (or deleting the files, then upgrading) works, then you should be OK

Offline

#5 2008-03-27 16:41:55

Deeno9
Member
From: Kleinfischlingen, Germany
Registered: 2008-03-26
Posts: 7
Website

Re: "error: failed to commit transaction (conflicting files)"

ok, thank you for your help smile

P.S: i found amarok, it didn't work couse i should install the packages amarok-base and amarok-engine-xine instead of amarok -.-

Offline

Board footer

Powered by FluxBB