Unable to install Calibre ebook management app in PureOS on Librem

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.

1 Like

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.

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 ?

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.

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.

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

Hi mladen,

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

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.

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.

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

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!

1 Like

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

1 Like

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

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

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

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

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.

This is an old discussion, but I’m having the same problem now. I’m a complete newbie to both Linux and PureOS. I got my Librem 13 last week and tried to install Calibre, but got the message “unable to install calibre as not supported”, too. The same for Audacity by the way. I thought these apps should work, they are even in the list of suggested apps. Any recommendations what I could do? Thank you!

@Milou, did you already try this?

No, because I didn’t understand the reply by mpc, it sounded to me such as the problem persisted. So, this should work? Should there be a similar solution for audacity? (I don’t understand the commands so far, I still have to get used to it…)