Updating Calibre

I use Calibre, a free open source utility written in python, to convert documents into and out of various e-book formats. Like all software it occasionally needs to be updated, especially when the platform it’s riding on has.

There is an rpm package in the Fedora repo for Calibre. In fact I’d been using that for nearly a year. Today I got a variation on the dreaded TypeError: QPixmap()error[1]. A quick look over on the Calibre bug list revealed the problem was due to an issue with the latest qt libraries, and that a fix had already been rolled up into the latest Calibre release.

Installing or upgrading Calibre is a simple one-step process. All you need to do is invoke the command line argument shown here (if you’ve already installed it using your distribution’s package system, I’d recommend you uninstall it and use Calibre’s own installer).

Here’s the current text:

sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"

[1] OK, so this is a really obscure error that barely anyone has heard of, except those who have read a couple of threads like this. What’s impressive about the whole situation is that the problem was fixed within a day of being reported.

This entry was posted in System Administration on by .

About phil

My name is Phil Lembo. In my day job I’m an enterprise IT architect for a leading distribution and services company. The rest of my time I try to maintain a semi-normal family life in the suburbs of Raleigh, NC. E-mail me at philipATlembobrothersDOTcom. The opinions expressed here are entirely my own and not those of my employers, past, present or future (except where I quote others, who will need to accept responsibility for their own rants).