View Single Post
Old 09-10-2017, 12:09 AM   #42
maddhin
Member
maddhin began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jul 2017
Device: iPad
Based on eschwartz recommendation, I actually installed Arch Linux on my Raspberry Pi now, ran the script but ended up with:

[root@syncpi bin]# calibre-upgrade.sh
Calibre is not installed, installing...

Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
2017-09-10 11:31:57 URL:https://raw.githubusercontent.com/ko...x-installer.py [27407/27407] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Using previously downloaded calibre-3.7.0-i686.txz
Extracting files to /opt/calibre ...
Extracting application files...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 726, in main
File "<string>", line 687, in run_installer
File "/usr/lib/python3.6/subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.6/subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1333, in _execute_child
raise child_exception_type(errno_num, err_msg)
OSError: [Errno 8] Exec format error

I don't know much about Linux but it looks like it tries to install a i686 and not arm version.

I'm a bit confused now: how to install Calibre on a RPI w/ arch linux?

If I interpret the discussion here correctly, I CANNOT use the script but should install the "normal" AUR package (not the installer AUR package)?

---

EDIT / follow up:

When I try to install the AUR package I get:

[alarm@syncpi calibre-git]$ makepkg -si
==> ERROR: calibre-git is not available for the 'armv7h' architecture.

==> ERROR: An unknown error has occurred. Exiting...

Now what?

Last edited by maddhin; 09-10-2017 at 12:28 AM.
maddhin is offline   Reply With Quote