You are not logged in.

#1 2010-02-05 20:04:11

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Unable to install package

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

#2 2010-02-05 20:25:54

sdolim
Member
Registered: 2010-01-20
Posts: 67

Re: Unable to install package

What does "pacman -Qo /usr/include/GL/gl.h" say?

Offline

#3 2010-02-05 20:58:29

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Unable to install package

[cwilliams@tuna ~]$ sudo pacman -Qo /usr/include/GL/gl.h
Password: 
error: No package owns /usr/include/GL/gl.h

./

Offline

#4 2010-02-05 21:21:08

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Unable to install package

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

#5 2010-02-05 21:25:14

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Unable to install package

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

#6 2010-02-05 21:27:28

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Unable to install package

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

#7 2010-02-05 21:29:58

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Unable to install package

Yeah I did install the nVidia driver manually. Does that matter?


./

Offline

#8 2010-02-05 21:34:11

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Unable to install package

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

#9 2010-02-05 21:40:00

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Unable to install package

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

#10 2010-02-05 21:44:33

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Unable to install package

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

#11 2010-02-05 23:04:36

sdolim
Member
Registered: 2010-01-20
Posts: 67

Re: Unable to install package

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

#12 2010-02-06 00:01:06

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Unable to install package

Remove the offending files, rerun pacman. Easy peasy.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#13 2010-02-06 00:07:46

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Unable to install package

Thanks all! Sounds like a plan.


./

Offline

Board footer

Powered by FluxBB