Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 05-22-2015, 07:06 AM   #1
Gordonbp
Junior Member
Gordonbp began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2015
Device: None
Question Error message installing Calibre

Trying to install Calibre on Xubuntu 14.04.
I have wget, python 2.7 and xdg-utils installed.
When running the command as in the Download Page here I get this error:

2015-05-22 11:51:38 URL:https://raw.githubusercontent.com/ko...x-installer.py [25783/25783] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 655, in main
File "<string>", line 627, in download_and_extract
File "<string>", line 619, in get_tarball_info
File "<string>", line 583, in get_https_resource_securely
File "<string>", line 497, in connect
File "/usr/lib/python2.7/socket.py", line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno -2] Name or service not known

Can anyone help with this?
Gordonbp is offline   Reply With Quote
Old 05-22-2015, 07:33 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That indicates your computer is unable to resolve code.calibre-ebook.com to an IP address. Check your network configuration. You should be able to work around it by adding the appropriate record directly to /etc/hosts
kovidgoyal is offline   Reply With Quote
Advert
Old 05-22-2015, 07:37 AM   #3
Gordonbp
Junior Member
Gordonbp began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2015
Device: None
Quote:
Originally Posted by kovidgoyal View Post
That indicates your computer is unable to resolve code.calibre-ebook.com to an IP address. Check your network configuration. You should be able to work around it by adding the appropriate record directly to /etc/hosts
Hi,
Thanks for that - AFAIK my internet connection is fine so I'm not sure that the configuration is a problem. What should I be looking for (and where) to determine whether that's the cause?
What exactly do I need to add to the etc/hosts file?
Gordonbp is offline   Reply With Quote
Old 05-22-2015, 06:09 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
According to ping, the current IP address of code.calibre-ebook.com is 166.78.100.224 -- so use:

Code:
166.78.100.224 code.calibre-ebook.com
It is in the format "ip-address some_url"
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error installing Calibre 2.21 yekim54 Calibre 8 03-16-2015 01:26 AM
Error when installing Calibre 2.0 gnvdk Calibre 2 09-01-2014 03:37 AM
Error Installing Calibre - Ended Prematurely tarisea Calibre 1 04-27-2014 05:21 PM
Error 1 after installing Calibre Version: 0.8.22 Dragons Library Management 1 10-14-2011 07:56 PM
Calibre 0.6.13 installing error The_Bookworm Calibre 4 10-07-2009 04:02 PM


All times are GMT -4. The time now is 04:18 AM.


MobileRead.com is a privately owned, operated and funded community.