Calibre makes package updates impossible in Tumbleweed

Only uninstalling Calibre(e-book maker) solved the problem.

Old issueā€¦
https://bugzilla.opensuse.org/show_bug.cgi?id=1227140

But the new calibre-7.19.0-1.1 which was pushed to the repos recently, should work. So without any terminal output from you it is not possible to tell what is going on on your system.

1 Like

Problem with the installed Calibre 7-17-0-748-1 x86x64

That seems not like a version from the official openSUSE repos.

Donā€™t truncate the output when asked for terminal output. Always post the complete initial command and the output and post it here via the </> button in the forum editor.

Show the output from

zypper lr -d

It has already been removed, since then the package update has been working.

If you opt to reinstall it and run into trouble again, including information about what specific error you get would be very useful. Itā€™s really difficult for anyone to help you when you just say ā€œthis doesnā€™t workā€ and provide no details. :slight_smile:

Just a note
Calibre 7-17-0-748-1 x86x64 dies not install on 15.5 because of it needs a newer C

Any version of calibre newer than 7.16 will not install on Leap 15.6. Regarding calibre 7.17, I got this reply from calibre support:

Look at the lines:

Failed to import PyQt module: PyQt6.QtWebEngineCore with error:
/opt/calibre/lib/libQt6WebEngineCore.so.6: undefined symbol:
FT_Get_Color_Glyph_Paint

in the error you need a version of FreeType with
FT_Get_Color_Glyph_Paint as that's what chromium and therefore Qt
WebEngine require these days, to support the horrible COLRv1 fonts that
Google pushed for. calibre doesn't bundle freetype since that
is often heavily patched/configured by distros. I suggest you stay with
calibre 7.16 till you are ready to upgrade your OS

libfreetype6 in Leap 15.6 is over a year old. The version in tumbleweed is much newer, so I thought it might work.
Now trying to install calibre 7.19 on Leap 15.6, I get:

howard@X390-oS156:~> sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
[sudo] password for root: 
Using python executable: /usr/bin/python3
2024-09-29 11:58:40 URL:https://download.calibre-ebook.com/linux-installer.sh [34312/34312] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Will download and install calibre-7.19.0-x86_64.txz 
                                                                      Downloading calibre-7.19.0-x86_64.txz                                                                       
100% [========================================================================================================================================================================]
                                                                                                                                                                                  Downloaded 181680560 bytes 
Checking downloaded file integrity... 
Extracting files to /opt/calibre ...
Extracting application files... 
Creating symlinks...
        Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
        Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
        Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
        Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
        Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
        Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
        Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
        Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
        Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
        Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
        Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
        Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
        Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
        Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
        Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
        Symlinking /opt/calibre/calibre to /usr/bin/calibre
        Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
        Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
        Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/site-functions/_calibre
Package bash-completion was not found in the pkg-config search path.
Perhaps you should add the directory containing `bash-completion.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bash-completion' found
Failed to find directory to install bash completions, using default.
Installing bash completion to: /usr/share/bash-completion/completions/
Failed to import PyQt module: PyQt6.QtWebEngineCore with error: /opt/calibre/lib/libQt6WebEngineCore.so.6: undefined symbol: FT_Get_Color_Glyph_Paint

____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________


        Traceback (most recent call last):
          File "calibre/linux.py", line 838, in setup_completion
          File "calibre/linux.py", line 588, in write_completion
          File "bypy-importer.py", line 279, in exec_module
          File "calibre/gui2/tweak_book/main.py", line 12, in <module>
          File "bypy-importer.py", line 279, in exec_module
          File "calibre/ebooks/oeb/polish/check/css.py", line 12, in <module>
        ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/opt/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/webengine.pyc)

Setting up desktop integration...
Creating un-installer: /usr/bin/calibre-uninstall

There were 1 warnings

* Setting up completion failed with error:

Run "calibre" to start calibre 
howard@X390-oS156:~> 

So Iā€™m staying with calibre 7.16 for now.
Howard

Isnā€™t this a Tumbleweed thread?

I can confirm this.

My system

Operating System: openSUSE Tumbleweed 20240927
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.11.0-1-default (64-bit)
Graphics Platform: X11
Graphics Processor: Mesa IntelĀ® HD Graphics 630
# zypper info calibre
Loading repository data...
Reading installed packages...

Information for package calibre:
--------------------------------
Repository     : openSUSE Tumbleweed Oss
Name           : calibre
Version        : 7.19.0-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 63.8 MiB
Installed      : Yes
Status         : up-to-date
Source package : calibre-7.19.0-1.1.src
Upstream URL   : https://calibre-ebook.com
Summary        : EBook Management Application
Description    : 
    Calibre is an ebook library manager. It can view, convert and catalog
    ebooks in most of the major ebook formats. It can also talk to a few
    ebook reader devices. It can go out on the Internet and fetch
    metadata for books. It can download newspapers and convert them
    into ebooks for convenient reading.

Calibre dev advices not to use packages from distro repos calibre - Download for Linux

Please do not use your distribution provided calibre package, as those are often buggy/outdated. Instead use the Binary install described below.

I think, this is the latest Version:

# zypper info calibre
Loading repository data...
Reading installed packages...

Information for package calibre:
--------------------------------
Repository     : openSUSE Tumbleweed Oss
Name           : calibre
Version        : 7.19.0-1.1
Arch           : x86_64
Vendor         : openSUSE

Iā€™m aware of this advice.

However since I started using openSUSE Tumbleweed about four years ago I use the calibre-package as provided by openSUSE and had no problems so far (though Iā€™m no calibre ā€œpower userā€ - just reading and managing ebooks).

Yeah, I mentioned the calibre devsā€™ preference to use their packaging rather than a distroā€™s packaging on the mailing lists once, and it was pointed out that a lot of developers make a similar suggestion (but with less dire warnings), but the vast majority of those packages work just fine with a distroā€™s packaging and maintenance (the ones that tend to be more challenging are those that are proprietary or have proprietary elements, like Discord, as I understand it).

Using the distro-provided package is just fine.

on 15.5 I get

Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at ā€˜/home/gogalthorp/.wget-hstsā€™. HSTS will be disabled.
2024-10-01 09:04:03 URL:https://download.calibre-ebook.com/linux-installer.sh [34437/34437] ā†’ ā€œ-ā€ [1]
Using python executable: /usr/bin/python3
Your system has GNU libc version 2.31. The calibre binaries require at least version: 2.35 (released on 2022-0
2-03). Update your system.

I know 15.5 is EOL but there seems to be reported problems with 15.6 also

Leap 15.5 end of support is planned to be at 2024-12-31.
https://en.opensuse.org/Lifetime

On Tumbleweed you need to use zypper dup. And from wherever you have installed this Calibre version, it is not from any official openSUSE Tumbleweed repo.
Correct Tumbleweed versions where pointed out here and here.

2 Likes

If youā€™re on Tumbleweed, run a zypper ref && zypper dup to update your system first, reboot if needed, and then try zypper in calibre. Copy and paste the output (if it doesnā€™t work) to a preformatted text block (use the </> button in the forum post editor toolbar). That will let those trying to help translate any error messages without having to deal with an image.

1 Like

Iā€™ve been a Linux user for three months, Iā€™m just getting to know the system. Iā€™m trying to learn it slowly.