You are not logged in.
I tried to upgrade to Xorg-Server 1.6 today and ran into this problem:
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
xorg-server: /usr/lib/xorg/modules/extensions/libdri.so exists in filesystem
xorg-server: /usr/lib/xorg/modules/libwfb.so exists in filesystem
Errors occurred, no packages were upgraded.
I did some quick research and was pleasantly surprised to find Jan de Groot already posted about it on the Arch Linux news feed. Here is what you need to do:
To overwrite these old symbolic links created by the post_install of the last xorg-server:
pacman -Sf xorg-server
Then continue your upgrade:
pacman -Syu
Then you should be good
Here is the original news post:
http://www.archlinux.org/news/436/
Offline
Ah! I should have checked the forums first, but I removed the files in question but made backups of them. Is there anything I could/should do?
Offline
Ah! I should have checked the forums first, but I removed the files in question but made backups of them. Is there anything I could/should do?
No, I think you should be fine to pacman -Syu now. Try it out. If not, restore the backups and run the commands I posted.
Offline
Thanks. I've upgraded fine, but my wacom pen is not working... but that must just be a separate issue .
Offline
I had to run 'pacman -Syu' twice, the second time to update 'xf86-input-keyboard' and 'xf86-input-mouse'...
Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce
Offline
thanks, worked for me
Offline
Thanks for the post CheesyBeef. Your on-the-ballness is helpful.
Greg
Offline
If you got conflicting files, why not uninstall the old package with pacman -R and then install the new package? It is safer imho.
Offline
If you got conflicting files, why not uninstall the old package with pacman -R and then install the new package? It is safer imho.
yea, thats what I did.
Proud Arch i686 & x86_64 User
Share your knowledge!
Arch Linux Forum Etiquette
Offline
Yea I did as aforementioned, just removed xorg-server, installed 1.6 and then ran pacman -Syu. all working fine now
Offline
right. for me removing xorg-server starts a domino effect sorta thing.
first I'm told that it's nvidia-utils that is dependent etc etc
then
mesa
that's where i stopped.
I'm asking what options do ihave if I can't remove xorg-server easily?
thanks!
Last edited by yvonney (2009-04-12 02:43:37)
Offline
unluckily, I have delete the two file and can not startx any more. How to?
Offline
right. for me removing xorg-server starts a domino effect sorta thing.
first I'm told that it's nvidia-utils that is dependent etc etc
then
mesa
that's where i stopped.I'm asking what options do ihave if I can't remove xorg-server easily?
thanks!
pacman -Rd xorg-server
freenode.net #linuxn00b
Offline
thanks for the post!
Cheers,
Alex
Offline
Thanks I did the -Rd remove THEN the -Syu update
THEN installed xorg-server
seemed right to do. As pacman didn't say --renistalling xorg-server and the -Syu didn't have xorg-server in it.
Now, for a reboot!
UPDATE: all fine!
Last edited by yvonney (2009-04-12 03:53:30)
Offline
Glad this could help some people I know this forum is where I first came when I had the conflict.
Most likely it is safer to remove xorg-server, then install the new one, but I think in this case it is pretty safe. Most people are using the last xorg-server version and are upgrading to the new one, so the conflicts should be the same for everyone here I would think.
Last edited by CheesyBeef (2009-04-12 05:53:37)
Offline
Many thanks for the solution
Offline
that is crazy, has anyone found out why there is a /usr/lib64/tls from nvidia vs. /usr/lib64/xorg from ati?
Offline
Different driver developpers?
Offline
My setup (P4 2.8ghz Dell inspiron with onboard intel graphics) will not run with the latest driver/xorg updates. I have tried all the above with no luck, the only way I can get X to run is to move my old versions of libdri.so and libwfb.so back, overwriting the new ones (Not Good).
With the new xorg installed and new intel driver all I get is a functioning mouse and a load of "lines" on my screen.
I thought I would run hwd -xa to build a new xorg.conf (I was running out of ideas) but hwd reports that there is no xserver installed. ???
Anyway copying libdri.so and libwfb.so back over gives me a functioning desktop again. Anyone else with similar problems?
This Is My Truth, Tell Me Yours
Offline
@timttmy
oh, you did reinstall xorg.server didn't you, after the pacman -Syu.
see my post above?
then:
you tried hwd -x (not -xa) and then renaming the x.x.vesa file to xorg.conf?
(hope I haven't got those backwards in my head - sorry if I do, which now feels a bit likely)
I'd guess it should be fairly easy to get your machine to work with the full correct upgraded files.
I've had lots of funnies with my ancient inspiron which forced a lot of grub boot things to be needed to get it to boot. Yours is of course much newer.
Last edited by yvonney (2009-04-12 18:43:45)
Offline
@timttmy
oh, you did reinstall xorg.server didn't you, after the pacman -Syu.
see my post above?then:
you tried hwd -x (not -xa) and then renaming the x.x.vesa file to xorg.conf?
(hope I haven't got those backwards in my head - sorry if I do, which now feels a bit likely)
Yep I reinstalled xorg server (that was the first thing I tried) and everything else sudgested in this thread.
BTW I did all this in runlevel 3 (init 3), I wouldn't try to upgrade xorg with xorg running as it doesn't feel right.
I took this screen shot to show you the output from hwd -x which I also originaly ran without an X server running.
It's just strange.
I will just wait for another update to come down the tubes, hopefully it will fix it properly.
This Is My Truth, Tell Me Yours
Offline
I assume that I do not have to worry about config files if I remove Xorg and then reinstall?
(Actually, I'm not assuming, I'm checking!)
Offline
I assume that I do not have to worry about config files if I remove Xorg and then reinstall?
(Actually, I'm not assuming, I'm checking!)
Not if you follow the commands in my guide.
If you were to use pacman -Rn xorg-server, then it would remove the configuration files. (the n stands for --nosave)
Offline