You are not logged in.
For some reason today I attempted to download and install 'evince' PDF viewer & attempted to do so with the following error:
[root@tuna ~]# pacman -S evince
resolving dependencies...
looking for inter-conflicts...
Targets (13): dri2proto-2.1-1 mesa-7.7-1 freeglut-2.6.0-1 jasper-1.900.1-4 ghostscript-8.70-4 libspectre-0.2.3-1 gsfonts-8.11-5 openjpeg-1.3-3 poppler-0.12.3-1
poppler-glib-0.12.3-1 libdjvu-3.5.22-3 t1lib-5.1.2-2 evince-2.28.2-1
Total Download Size: 16.56 MB
Total Installed Size: 68.93 MB
Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
jasper-1.900.1-4-x86_64 375.7K 1130.6K/s 00:00:00 [###################################################################################################################################] 100%
ghostscript-8.70-4-... 14.3M 1984.8K/s 00:00:07 [###################################################################################################################################] 100%
poppler-0.12.3-1-x86_64 1005.9K 877.8K/s 00:00:01 [###################################################################################################################################] 100%
poppler-glib-0.12.3... 136.5K 537.8K/s 00:00:00 [###################################################################################################################################] 100%
libdjvu-3.5.22-3-x86_64 811.7K 1817.7K/s 00:00:00 [###################################################################################################################################] 100%
checking package integrity...
(13/13) checking for file conflicts [###################################################################################################################################] 100%
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.
[root@tuna ~]# which evince
which: no evince in (/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core)I don't understand why I got this because I can perform a full system upgrade just fine. I just can't seem to install this package for whatever reason.
./
Offline
What does "pacman -Qo /usr/include/GL/gl.h" say?
Offline
[cwilliams@tuna ~]$ sudo pacman -Qo /usr/include/GL/gl.h
Password:
error: No package owns /usr/include/GL/gl.h./
Offline
How did you install mesa? pacman doesn't seem to know about it.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
I think 'Mesa" was installed during the X / Gnome installation guide I followed in the Begineers Wiki guide I followed. I never physically installed Mesa directly by name. I think it was a dependancy package for X, Alsa, Gnome, or GDM.
./
Offline
As long as you haven't installed anything without using pacman (like the nvidia driver) you should be safe to rename those files and resume.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Yeah I did install the nVidia driver manually. Does that matter?
./
Offline
well it does cos it's not tracked by pacman and it installed the files you are now getting the errors about, I don't know the way round it I'm afraid because I always use pacman. Although, maybe the nvidia package includes and uninstaller?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
So you're tell me basically the problem is that I myself installed nVidia drivers manually which caused this when I should have installed the nVidia drivers via Pacman, right?
./
Offline
Some people on the forums do install the nvidia drivers manually, but I don't know how they resolve issues like this because I only use pacman. Hopefully, one of them will see your thread and be able to advise you.
edit: or you could uninstal using whatever nvidia provides and then reinstall using pacman.
Last edited by loafer (2010-02-05 21:46:47)
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Pacman is just being careful about not stomping on files that it didn't put there itself originally. So it won't overwrite something you did manually.
When you install software from other sources, you can write your own PKGBUILD that contains the commands you would execute to install. And you can indicate what "officlal" packages it provides/replaces/conflicts-with (if any). That way pacman will know what's going on, and be able to act smarter (at least give you a better error message).
Offline
Remove the offending files, rerun pacman. Easy peasy.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Thanks all! Sounds like a plan.
./
Offline