View Single Post
Old 03-06-2015, 12:02 PM   #1
Volkan
Junior Member
Volkan began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2011
Device: iPad
Installation error on Raspberry Pi

Hi,
I'm trying to install Calibre on a Raspberry Pi 2. I'm running the following command as it's advised on the official site:

sudo -v && wget -nv -O https://raw.githubusercontent.com/ko...x-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"

But it's getting an error "Syntax error: "(" unexpected" while running postinstall. Full screen output is as follows:

2015-03-06 16:47:42 URL:https://raw.githubusercontent.com/ko...x-installer.py [25629/25629] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Using previously downloaded calibre-2.20.0-i686.txz
Extracting files to /opt/calibre ...
Extracting application files...
/opt/calibre/calibre_postinstall: 1: /opt/calibre/calibre_postinstall: Syntax error: "(" unexpected
Run "calibre" to start calibre

And when I run "calibre" it says it command not found.

(If I just install it with apt-get it installs without any problems. But calibre --version says 0.8.51 so quite an old version)

Anyone had a similar problem before? Any suggestions are welcome.

Thanks.
Volkan is offline   Reply With Quote