| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 3 
				Karma: 10 
				Join Date: Oct 2009 
				
				
				
				Device: Sony PRS-600 (soon) 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Ubuntu Jaunty: New version of calibre won't start
			 
			
			
			Hello all, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	My problem is this: I've been running calibre without issue on my Jaunty box for about a month now, but this morning I started it up and got a message that 0.6.15 was available. So... Code: 
	adouma@desktop:~$ sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()"
Enter the installation directory for calibre [/opt]: 
Will download and install calibre-0.6.15-i686.tar.bz2
                                                                                    Downloading calibre-0.6.15-i686.tar.bz2                                                                                     
100% [======================================================================================================================================================================================================]
                                                                                                                                                                                                                Extracting files to /opt/calibre ...
Extracting application files...
Creating symlinks...
	Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
	Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
	Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
	Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
	Symlinking /opt/calibre/pdfmanipulate to /usr/bin/pdfmanipulate
	Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
	Symlinking /opt/calibre/calibre to /usr/bin/calibre
	Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
	Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
	Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
	Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
	Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
	Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
	Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
	Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
	Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
	Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
	Symlinking /opt/calibre/librarything to /usr/bin/librarything
	Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
Setting up bash completion...
____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________
	Traceback (most recent call last):
	  File "/home/kovid/build/calibre/src/calibre/linux.py", line 172, in setup_completion
	  File "/home/kovid/build/calibre/src/calibre/ebooks/metadata/cli.py", line 12, in <module>
	  File "/home/kovid/build/calibre/src/calibre/customize/ui.py", line 11, in <module>
	  File "/home/kovid/build/calibre/src/calibre/customize/builtins.py", line 367, in <module>
	  File "/home/kovid/build/calibre/src/calibre/devices/prs500/driver.py", line 44, in <module>
	  File "/home/kovid/build/calibre/src/calibre/devices/libusb.py", line 7, in <module>
	  File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
	    from _ctypes import Union, Structure, Array
	ImportError: libffi.so.4: cannot open shared object file: No such file or directory
Trying to setup udev rules...
Installing MAN pages...
____________________ WARNING ____________________
Installing MAN pages failed with error:
__________________________________________________
	Traceback (most recent call last):
	  File "/home/kovid/build/calibre/src/calibre/linux.py", line 329, in install_man_pages
	  File "/home/kovid/build/calibre/src/calibre/devices/prs500/cli/main.py", line 16, in <module>
	  File "/home/kovid/build/calibre/src/calibre/customize/ui.py", line 11, in <module>
	  File "/home/kovid/build/calibre/src/calibre/customize/builtins.py", line 367, in <module>
	  File "/home/kovid/build/calibre/src/calibre/devices/prs500/driver.py", line 44, in <module>
	  File "/home/kovid/build/calibre/src/calibre/devices/libusb.py", line 7, in <module>
	  File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
	    from _ctypes import Union, Structure, Array
	ImportError: libffi.so.4: cannot open shared object file: No such file or directory
Setting up desktop integration...
There were 2 warnings
* Setting up completion failed with error:
* Installing MAN pages failed with error:
Run "calibre" to start calibre
Code: 
	adouma@desktop:~$ calibre
Traceback (most recent call last):
  File "/tmp/init.py", line 48, in <module>
  File "/home/kovid/build/calibre/src/calibre/gui2/__init__.py", line 15, in <module>
  File "/home/kovid/build/calibre/src/calibre/ebooks/metadata/meta.py", line 11, in <module>
  File "/home/kovid/build/calibre/src/calibre/customize/ui.py", line 11, in <module>
  File "/home/kovid/build/calibre/src/calibre/customize/builtins.py", line 367, in <module>
  File "/home/kovid/build/calibre/src/calibre/devices/prs500/driver.py", line 44, in <module>
  File "/home/kovid/build/calibre/src/calibre/devices/libusb.py", line 7, in <module>
  File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.4: cannot open shared object file: No such file or directory
Uh, help please?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Fixed build uploaded. Re-download and you should be fine.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 3 
				Karma: 10 
				Join Date: Oct 2009 
				
				
				
				Device: Sony PRS-600 (soon) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Edit: Alas, spoke too soon. I re-downloaded but it just did the same thing again. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			What's the best way to completely remove calibre? Maybe a fresh install will work better. Last edited by adouma; 10-01-2009 at 10:26 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Just delete /opt/calibre
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 3 
				Karma: 10 
				Join Date: Oct 2009 
				
				
				
				Device: Sony PRS-600 (soon) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Now it's good. Thanks for the help, Kovid, and for calibre in general.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
![]()  | 
            
        
    
| Tags | 
| calibre, support, ubuntu jaunty | 
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Calibre for Ubuntu (Jaunty) | bedachtm | Calibre | 20 | 02-20-2010 03:09 AM | 
| New Calibre install won't start/seg faults on Ubuntu 9.10 64-bit | lizajane999 | Calibre | 4 | 02-06-2010 03:42 PM | 
| Calibre 0.6.27 does not start on Ubuntu Karmic (9.10) | dmandala | Calibre | 7 | 12-15-2009 01:46 AM | 
| Problem Installing Calibre on EeePC 901 (Ubuntu Jaunty) | andavane | Calibre | 4 | 11-08-2009 03:05 PM | 
| libunrar.so for Ubuntu Jaunty | ronniet | Calibre | 4 | 07-22-2009 07:07 PM |