04-17-2019, 03:31 PM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2017
Location: Vancouver, BC, Canada
Device: Mac OS X / Windows 10 / Linux
|
Version 3.40 won't install on Linux Mint
This is my first post on the forum, so apologies beforehand if I'm not doing something correctly:
I've attempted to install calibre 3.40.1 on Linux Mint 19.1 Cinnamon. LM19.1 OS is up to date (as of a few minutes ago). Also note LM 19.1 is running as a virtual machine on a macOS 10.14.4 host under Virtualbox 6.0.6 (latest as of a few minutes ago) with guest additions 6.0.6. calibre was installed using the command line: sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin The following errors are thrown: .... Symlinking /opt/calibre/calibredb to /usr/bin/calibredb Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs Setting up command-line completion... Installing zsh completion to: /usr/share/zsh/vendor-completions/_calibre Installing bash completion to: /usr/share/bash-completion/completions/calibre ____________________ WARNING ____________________ Setting up completion failed with error: __________________________________________________ Traceback (most recent call last): File "site-packages/calibre/linux.py", line 755, in setup_completion File "site-packages/calibre/linux.py", line 509, in write_completion File "site-packages/calibre/gui2/__init__.py", line 13, in <module> ImportError: cannot import name QDesktopServices Setting up desktop integration... ____________________ WARNING ____________________ Setting up desktop integration failed with error: __________________________________________________ Traceback (most recent call last): File "site-packages/calibre/linux.py", line 815, in setup_desktop_integration File "site-packages/calibre/linux.py", line 800, in install_icons File "site-packages/calibre/linux.py", line 790, in install_single_icon File "site-packages/calibre/linux.py", line 1132, in render_img ImportError: cannot import name QImage Creating un-installer: /usr/bin/calibre-uninstall There were 2 warnings * Setting up completion failed with error: * Setting up desktop integration failed with error: Run "calibre" to start calibre stewart@stewart-LM191:~/Downloads$ calibre Traceback (most recent call last): File "site.py", line 77, in main File "site-packages/calibre/gui_launch.py", line 73, in calibre File "site-packages/calibre/gui2/__init__.py", line 13, in <module> ImportError: cannot import name QDesktopServices Segmentation fault (core dumped) stewart@stewart-LM191:~/Downloads$ I'm not sure where to go from here. Can someone advise? Thanks. |
04-17-2019, 07:40 PM | #2 | |
Wizard
Posts: 2,129
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
open a terminal and enter Code:
calibre-debug -g Spoiler:
IFit works or not post the results. Try using the "Manual binary install or reverting to a previous version" from https://calibre-ebook.com/download_linux My system is running Linux Mint 19.1 Cinnamon bernie Last edited by gbm; 04-17-2019 at 07:43 PM. |
|
Advert | |
|
04-17-2019, 11:43 PM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2017
Location: Vancouver, BC, Canada
Device: Mac OS X / Windows 10 / Linux
|
Thanks bernie.
To your suggestion to try using the "Manual binary install" from https://calibre-ebook.com/download_linux, I have done that numerous times with LM 19.1 Cinnamon on VB 6.0.4, and on at least two other distributions of Linux Mint 19.1 Mate and Xfce with 6.0.4. I then re-installed LM 19.1 Cinnamon and attempted a fresh installation of calibre with 6.0.6. The errors that I posted earlier are after the fresh installation of LM 19.1 Cinnamon and VB 6.0.6. (In fact, I spent much of yesterday trying to get calibre to install on LM 19.1). Here is the result of running calibre in debug mode: stewart@stewart-LM191:~$ calibre-debug -g calibre 3.40.1 embedded-python: True is64bit: True Linux-4.15.0-47-generic-x86_64-with-debian-buster-sid Linux ('64bit', 'ELF') ('Linux', '4.15.0-47-generic', '#50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019') Python 2.7.15 Linux: ('debian', 'buster/sid', '') Interface language: None Traceback (most recent call last): File "site.py", line 77, in main File "site-packages/calibre/debug.py", line 268, in main File "site-packages/calibre/gui_launch.py", line 73, in calibre File "site-packages/calibre/gui2/__init__.py", line 13, in <module> ImportError: cannot import name QDesktopServices Segmentation fault (core dumped) stewart@stewart-LM191:~$ |
04-17-2019, 11:57 PM | #4 |
creator of calibre
Posts: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC this is a bug in VirtualBox search this forum for virtualbox and you should find references to it.
|
04-18-2019, 12:52 AM | #5 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2017
Location: Vancouver, BC, Canada
Device: Mac OS X / Windows 10 / Linux
|
Thanks kovidgoyal.
According to Sinac in a previous thread: Hiya, finally. It's a VirtualBox bug will be solved in the next release, at least that's what the bug report says: (Vbox guest additions: missing shared library dependency -> fixed after (not in) 6.0.4 and in test builds) It was on that understanding that I upgraded Virtualbox 6.0.4 (and the guest extensions) to 6.0.6 yesterday and re-attempted the calibre installation, believing that the bug would be fixed by 6.0.6. I fear the bug has NOT been fixed in 6.0.6. I'll try again when another version of VB has been released. Thanks all for your help. |
Advert | |
|
04-18-2019, 11:47 AM | #6 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2017
Location: Vancouver, BC, Canada
Device: Mac OS X / Windows 10 / Linux
|
Update:
I have another system running macOS 10.14.4 with Virtualbox 6.0.0. I performed a fresh installation of Linux Mint 18.3 Mate, applied all the OS software updates, installed 6.0.0 guest extensions, and then installed calibre 3.40.1 using the command: sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin calibre installed without any apparent issues. Presumably something happened between VB 6.0.0 and 6.0.4 to break a calibre 3.40.1 installation. |
04-18-2019, 02:32 PM | #7 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2017
Location: Vancouver, BC, Canada
Device: Mac OS X / Windows 10 / Linux
|
Further update on my issue:
I did a fresh install of Linux Mint 19.1 Mate as guest with Virtualbox 6.0.0 on the same macOS 10.14.4 host as above, updated the LM 19.1 OS files, and applied the 6.0.0 guest additions. calibre 3.40.1 was installed as above using: sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin calibre launched with a warning about GTK libraries: stewart@stewart-VB-LM191:~$ calibre QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries. QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries. stewart@stewart-VB-LM191:~$ I did not notice any further issues with calibre. |
04-18-2019, 04:31 PM | #8 |
Wizard
Posts: 3,455
Karma: 10484861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
I have just installed calibre-3.40.1-x86_64 on Mint Linux Sonya 18.2 fully updated (except for a handful packages from level 4 updates) running on real iron (not virtual machine).
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre suddenly won't load, Linux Mint | Patchmaster | Calibre | 4 | 12-14-2017 10:38 PM |
Install/Update fails on Linux Mint 17.1 | Zauberlehrling! | Devices | 2 | 02-16-2015 01:18 PM |
Calibre won't launch in linux mint 15 | pimseb | Devices | 1 | 07-03-2013 03:20 AM |
Trying to install version 0.6.29 in Mint 11 - HELP | Mean500 | Calibre | 5 | 08-07-2011 04:51 PM |
Calibre will build but won't install on bluewhite64 linux distro | angevin | Calibre | 5 | 10-18-2008 11:20 PM |