You are not logged in.

#1 2015-11-11 15:10:38

everydaydiesel
Member
Registered: 2015-10-27
Posts: 41

Installing Calibre

Can someone please tell me why calibre will not install.

Here is the error


System is up to date....

# pacman -Syu
:: Synchronizing package databases...                                                                                                            
 core is up to date                                                                                                                              
 extra is up to date                                                                                                                             
 community is up to date                                                                                                                         
:: Starting full system upgrade...                                                                                                               
 there is nothing to do

Installation of calibre

# pacman -S calibre
resolving dependencies...
looking for conflicting packages...

Packages (28) chmlib-0.40-4  imagemagick-6.9.2.4-1  liblqr-0.4.2-1  lua51-5.1.5-4  ocl-icd-2.2.7-1  podofo-0.9.3-1  pyqt5-common-5.5.1-1
              python2-apsw-3.8.11.1-2  python2-chardet-2.3.0-2  python2-cherrypy-3.8.0-1  python2-cssselect-0.9.1-3  python2-cssutils-1.0.1-1
              python2-dateutil-2.4.2-2  python2-dbus-1.2.0-5  python2-dnspython-1.12.0-1  python2-html5lib-0.9999999-2  python2-lxml-3.4.4-2
              python2-mechanize-0.2.5-4  python2-netifaces-0.10.4-1  python2-packaging-15.3-2  python2-pillow-3.0.0-1  python2-psutil-3.2.2-1
              python2-pygments-2.0.2-3  python2-pyqt5-5.5.1-1  python2-setuptools-1:18.5-1  python2-sip-4.16.9-2  python2-six-1.10.0-1
              calibre-2.43.0-1

Total Installed Size:  156.41 MiB

:: Proceed with installation? [Y/n] y
(28/28) checking keys in keyring                                                        [##################################################] 100%
(28/28) checking package integrity                                                      [##################################################] 100%
(28/28) loading package files                                                           [##################################################] 100%
(28/28) checking for file conflicts                                                     [##################################################] 100%
error: failed to commit transaction (conflicting files)                                                                                          
ocl-icd: /usr/lib/libOpenCL.so exists in filesystem                                                                                              
ocl-icd: /usr/lib/libOpenCL.so.1 exists in filesystem                                                                                            
ocl-icd: /usr/lib/libOpenCL.so.1.0.0 exists in filesystem                                                                                        
Errors occurred, no packages were upgraded.

Offline

#2 2015-11-11 15:23:53

mareex
Member
From: Oldenburg, Germany
Registered: 2014-08-27
Posts: 28

Re: Installing Calibre

calibre wants to install ocl-icd as a dependency. But those three files already exist.
Look what packages own the files with

pacman -Qo /usr/lib/libOpenCL.so*

Offline

#3 2015-11-11 15:29:20

everydaydiesel
Member
Registered: 2015-10-27
Posts: 41

Re: Installing Calibre

can i just rm these files?

# pacman -Qo /usr/lib/libOpenCL.so*
error: No package owns /usr/lib/libOpenCL.so
error: No package owns /usr/lib/libOpenCL.so.1
error: No package owns /usr/lib/libOpenCL.so.1.0
error: No package owns /usr/lib/libOpenCL.so.1.0.0

Offline

#4 2015-11-11 15:30:47

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,720

Re: Installing Calibre

Because there are three files in your file system that would be overwritten by the calibre package tongue

You need to determine why they are there.  On my system, those files are owned by the ocl-icd package.  That package is a dependency of imagemagik which in turn is a dependency of both emacs and inkscape.
So, you are in a pickle.  On your system, use pacman -Qo to find out what owns those files. I say that because it is the ocl-icd package that is failing.  If no package owns those files, I suggest you move them someplace safe and then do your install. 

Have you installed anything on your system using a tool besides pacman?  like make install ?  I also note you struggled installing an HP printer, perhaps those files materialized during that effort.

Now, I must ask, is this a true Arch system, or was there a magic installer involved?
Finally, if this were my system, I would use the --force switch.  YMMV.  I am not the maintainer for these packages and am not the expert -- so I could be wrong and things could go badly were you to try that.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2015-11-11 15:35:31

mareex
Member
From: Oldenburg, Germany
Registered: 2014-08-27
Posts: 28

Re: Installing Calibre

I think this should be safe because no package owns these files and they are going to be installed anyway.
You can also force pacman to install calibre with

pacman -S calibre --force

But that would still leave /usr/lib/libOpenCL.so.1.0 orphaned on your system.

Offline

#6 2015-11-11 15:38:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,720

Re: Installing Calibre

mareex wrote:

I think this should be safe because no package owns these files and they are going to be installed anyway.

I tend to agree, therefore (I think) --force is appropriate here.
But, the OP really should determine why those files are there and whence they came.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2015-11-12 00:06:09

everydaydiesel
Member
Registered: 2015-10-27
Posts: 41

Re: Installing Calibre

Thanks for everyone that responded.  I am not sure what it means by a "magic" installer but I booted arch iso from the arch website to get me to a command prompt.  Then it was as easy as following the guide on the wiki.  Create the partitions, format the drives, copy the base files, setup network connection etc....

Thanks again for the help!

Last edited by everydaydiesel (2015-11-12 00:06:25)

Offline

#8 2015-11-12 00:55:47

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,720

Re: Installing Calibre

everydaydiesel wrote:

Thanks for everyone that responded.  I am not sure what it means by a "magic" installer but I booted arch iso from the arch website to get me to a command prompt.

Perfect.

What I was probing for was that this is a real Arch installation, not a different distribution that pretends to be arch, such as Manjaro, Evo/lution, Parabola, etc....
You're good smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB