Unable to install Calibre ebook management app in PureOS on Librem


#1

Hi,

I’m getting around to installing Calibre to manage my pocketbook pro and am having trouble installing it using PureOS (puri.sm green repo exclusively). I believe that the repos are missing package ‘qtbase-abi’. Is this the best place to complain about missing repo packages? I’d rather not stray from the puri.sm repos if possible.

Thanks!
Tom

=================

~$ sudo apt install calibre
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
calibre : Depends: python-pyqt5 (>= 5.9+dfsg-2+b1) but it is not going to be installed
Depends: python-pyqt5.qtwebkit but it is not going to be installed
Depends: python-pyqt5.qtsvg but it is not going to be installed
Depends: calibre-bin (>= 3.10.0+dfsg-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

~$ sudo apt install calibre-bin
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
calibre-bin : Depends: qtbase-abi-5-9-0 but it is not installable
Recommends: calibre (>= 3.10.0+dfsg-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

~$ sudo apt install qtbase-abi
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package qtbase-abi

EDIT: package dependency resolved, calibre is now installable.


#2

Could you please send the results of the following command:

cat /etc/apt/sources.list

This should give me an idea of what repo you’re using since if I’m correct the repo.pureos.net repo is the one you should be using.


#3

Hi,

~$ cat /etc/apt/sources.list

deb https://repo.puri.sm/pureos/ green main

I should change it to https://repo.pureos.net/ green main ?


#4

I changed mine to deb https://repo.pureos.net/pureos/ green main but it doesn’t help; I’m unable to install calibre with the same symptoms as the OP.


#5

I’m having this problem as well. My sources.list was also pointed at http://repo.puri.sm/pureos/ green main, and changing it to repo.pureos.net didn’t help.


#6

Just to be sure, you folks did run sudo apt update && sudo apt full-upgrade before trying to install Calibre?


#7

Hi mladen,

Thank you for your reply. Yes, after running those commands the calibre app still will not install.


#8

Yep. I just tried again, and it did upgrade a few more things. The result is the same though:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 calibre : Depends: python-pyqt5 (>= 5.9+dfsg-2+b1) but it is not going to be installed
           Depends: python-pyqt5.qtwebkit but it is not going to be installed
           Depends: python-pyqt5.qtsvg but it is not going to be installed
           Depends: calibre-bin (>= 3.10.0+dfsg-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

#9

I’m disappointed that this is taking so long to resolve. Managing e-books is an important use of my laptop. Calibre is a major Linux app; it needs to be installable. This is not a “testing” or “unstable” repo we’re using.


#10

You could submit the issue here https://tracker.pureos.net/


#11

Ah good call. I found this post by searching but didn’t think to look for an actual bug tracker. I’ll go submit a report. Thanks!


#12

Wanted to try again before I opened the task. Tried last night and it still doesn’t work. Created https://tracker.pureos.net/T381.


#13

I sadly cannot reproduce this, I installed it without problems.


#14

I’m not sure how much you’ve tried, but maybe some combination of the steps here could be useful? Since Ubuntu also uses apt, I figure these commands are still applicable


#15

This appears broken again. The bug was re-opened in the tracker on April 29.


#16

I installed Calibre as per this link: https://calibre-ebook.com/download_linux

with the following command:

sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin

#17

Thanks for that. Yeah, they advise to install from their download rather than from repos–I’m not sure exactly what the situation is (I don’t want to put time into figuring it out), but that’s not how things should be. Why isn’t the latest in Debian repos? I suspect the lack of proper dependencies is something to do with an upgrade to pyqt not being in Debian main yet, but I’m not sure.

Anyway, it seems to be a problem bigger than PureOS and outside of Purism’s control.