![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2016
Device: PC
|
Calibre stopped working in Debian testing
Hey,
Calibre stopped working after a recent update in Debian testing: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827922 Is there any fix for that? |
![]() |
![]() |
![]() |
#2 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2016
Device: PC
|
I've installed packages python-pyicu and python3-icu and now I get this:
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
Don't use the Debian package or in fact the package from any distribution. Use the installer from the Calibre website. This is the recommended method of installing and updating Calibre. If you must use the Debian package it is unlikely you will find help on these forums. Better to post a bug at Debian.
|
![]() |
![]() |
![]() |
#4 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2016
Device: PC
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
FWIW, it works fine on Arch Linux, and it really should be as simple as having the calibre binary plugins properly compiled (it has nothing whatsoever to do with any icu python modules).
IOW, this is entirely Debian's responsibility, and we have no idea what they may have messed up. But as darryl said, if the distro cannot get it working properly, just use the binary installer. ![]() And the distros usually manage to mess up something regarding calibre. Usually the deliberately-removed python modules which are replaced by incompatible upstream projects. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2016
Location: DownEast Maine, USA
Device: Debian Stretch desktop
|
The problem with the binary installer on Debian Testing (a.k.a. stretch) is that it needs libnettle4, and this has apparently been superseded by libnettle6 in testing.
At the moment I have Calibre 2.60 working in testing, it was downloaded from the Debian repositories, but it's only still there because I held it against upgrades - a dist-upgrade wants to remove Calibre. |
![]() |
![]() |
![]() |
#7 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
Um, what? I have libnettle6 on this Arch Linux system right here (and have, since June 2015). The calibre binary installer works fine, probably because it doesn't depend on nettle in any way.
In the unlikely event that it was somehow needed, calibre already ships all dependent libraries except for glibc >= 2.13 and libstdc++ >= 6.0.17 inside the binary installer, precisely so issues like this cannot happen. So if you are having problems with the binary installer, please post all relevant error messages. It is by definition meant to work everywhere, so regardless of the issue, Kovid will want to know. Also, I can guarantee you beyond all shadow of a doubt that you don't have the problem in this thread, because if you look at the Debian bugreport, they fixed it a week later after they discovered the problem was a completely and utterly empty "calibre-bin" package. So, an explanation for why you are posting in this old thread would be appreciated. ![]() |
![]() |
![]() |
![]() |
#8 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2016
Location: DownEast Maine, USA
Device: Debian Stretch desktop
|
Quote:
OK, I gave it another look. Yes, I misread something, mea culpa. It's not Calibre itself which generates the libnettle error, it's the use of wget as part of the process. <paste> brian@brian:~$ sudo -v && wget -nv -O- https://raw.githubusercontent.com/ko...x-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" [sudo] password for brian: wget: error while loading shared libraries: libnettle.so.4: cannot open shared object file: No such file or directory Download failed </paste> Just to confirm... <paste> brian@brian:~$ wget wget: error while loading shared libraries: libnettle.so.4: cannot open shared object file: No such file or directory brian@brian:~$ </paste> Now, I stick by what I said that doing a dist-upgrade on Debian Stretch, at least last time I tried it (within the last week) will warn you that Calibre is *going to be removed* as part of the upgrade, and no, it's not a case of removing then reinstalling - at least, it's not listed anywhere. That, at least, seems to me to be something of which other Debian Stretch users might want to be aware. I can't speak to Arch Linux, I've never used the distro. This thread came up in (AFAIR) fourth position in a search of the forum, I think I just searched for 'Debian' but can't be 100% certain. If there's a rule that you don't post to a thread more than a certain number of days after the last message, then I wasn't aware of it. |
|
![]() |
![]() |
![]() |
#9 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
There is no rule about not posting to old threads. But what you aren't supposed to do, is post to a thread that has nothing to do with your problem.
(And that is why there is a warning message for old threads, saying that the thread is old and you should consider whether it would be better to start a new thread... because it "may contain outdated information". But the thread is not auto-locked, because old age isn't an inherent proof of irrelevance.) Still, mistakes happen, no big deal. ![]() ![]() ... I have no idea why Debian would uninstall a package just because you are doing a dist-upgrade... frankly, I prefer rolling-release distros (like Arch) in part because you don't have to deal with dist-upgrades. Dist-upgrades tend to break things and you ultimately end up backing up all your data and doing a clean reinstall. But perhaps somehow as a result of aborting a dist-upgrade, you ended up with incompatible packages. At any rate, wget is apparently broken due to mismatched wget and libnettle packages... so something is deeply wrong with your system's dependency tree. There might be more than just wget that broke. ... Slightly confused now, because `ldd /usr/bin/wget` on my system does not report a dependency on libnettle.so.* ![]() EDIT: This explains a lot, Arch uses the openssl backend and I guess debian uses gnutls which itself links against nettle. So congrats -- you have a borked gnutls on your system. ![]() Last edited by eschwartz; 11-27-2016 at 11:17 AM. |
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2016
Location: DownEast Maine, USA
Device: Debian Stretch desktop
|
Quote:
No, I didn't abort a dist-upgrade. And I've managed to find a way around the problem, wget now works just fine again under Stretch. So you know what you can do with your congratulations and your big grin, don't you? |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre stopped working | InTrouble | Calibre | 5 | 07-25-2015 04:42 PM |
Calibre Sync on Android stopped working properly with recent version of Calibre? | khahoon | Calibre | 5 | 07-06-2013 08:14 AM |
calibre.exe has stopped working | nevilaan | Calibre | 3 | 01-29-2013 08:09 AM |
Calibre stopped working! | barbs23 | Calibre | 1 | 01-23-2011 12:10 AM |
Calibre stopped working on Kubuntu 10.10 | KendyfortheState | Calibre | 7 | 01-05-2011 04:44 PM |