Installation von Calibre auf Fedora mit einem vom Kaliber bereitgestellten Skript

381
hacktech

Ich habe Calibre 3.12 auf Fedora 27 installiert.

Ich möchte das neueste Kaliber auf meinem System installieren, da es heißt, das von der Distribution bereitgestellte Kaliber nicht auszuführen. Calibre bietet ein Skript zur Installation der neuesten Version unter Linux.

Ich habe es versucht, aber ich bekomme den Fehler, den ich nicht verstehe. Ich verwende einen Proxy mit Benutzer und Passwort, um eine Internetverbindung herzustellen. Ich habe diese Werte in /etc/environment, Bash und Gnome Desktop eingestellt. Ich reproduziere, was ich auf dem Terminal nach dem Ausführen des Skripts bekomme (ich habe meine Proxy-Anmeldeinformationen ersetzt).

2018-02-06 18:11:49 URL:https://download.calibre-ebook.com/linux-installer.py [27689/27689] -> "-" [1] Installing to /opt/calibre Downloading tarball signature securely... Using proxies: {'ftp': 'user:pass@proxy:port', 'http': 'user:pass@proxy:port', 'https': 'user:pass@proxy:port'}  Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 732, in main File "<string>", line 679, in run_installer File "<string>", line 649, in download_and_extract File "<string>", line 641, in get_tarball_info File "<string>", line 603, in get_https_resource_securely File "/usr/lib64/python2.7/httplib.py", line 1255, in connect HTTPConnection.connect(self) File "/usr/lib64/python2.7/httplib.py", line 821, in connect self.timeout, self.source_address) File "/usr/lib64/python2.7/socket.py", line 557, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): socket.gaierror: [Errno -2] Name or service not known 

Kaliber-Skript lautet:

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

0 Antworten auf die Frage