Hello, I am having trouble getting Calibre to install and run for me. I am on LXC 15 or 16 now, as I have tried multiple guides, and install methods, but none seem to work. All roads lead to the same issue.
[CODE]root@Calibre:~# sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
Using python executable: /usr/bin/python3
2024-02-19 14:45:42 URL:https://download.calibre-ebook.com/linux-installer.sh [34233/34233] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Will download and install calibre-7.5.1-x86_64.txz Downloading calibre-7.5.1-x86_64.txz
100% [=============================================================================================] Downloaded 146274300 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/vendor-completions/_calibre
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: libnss3.so: cannot open shared object file: No such file or directory
____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________
Traceback (most recent call last):
File "calibre/linux.py", line 837, in setup_completion
File "calibre/linux.py", line 587, 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 11, 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...
xdg-desktop-menu: No writable system menu directory found.
____________________ WARNING ____________________
Setting up desktop integration failed with error:
__________________________________________________
Traceback (most recent call last):
File "calibre/linux.py", line 858, in setup_desktop_integration
File "calibre/linux.py", line 880, in do_setup_desktop_integration
File "calibre/linux.py", line 958, in install_xdg_junk
File "subprocess.py", line 413, in check_call subprocess.CalledProcessError: Command 'xdg-desktop-menu install --noupdate ./calibre-gui.desktop' returned non-zero exit status 3.
Creating un-installer: /usr/bin/calibre-uninstall
There were 2 warnings
* Setting up completion failed with error:
* Setting up desktop integration failed with error:
Run "calibre" to start calibre [/CODE]
[CODE]root@Calibre:~# calibre
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
In my research on this issue, I came across this post and it mentioned needing libnss3.so, so I have tried installing it as well, but that did not help.
Hello, I hope this is the right place to post this. I have created a similar post over on Mobile Read as well. https:/ /www.mobileread .com/forums/ showthread. php?t=359250& highlight= lxc
Issues installing on a Proxmox LXC.
Hypervisor: Proxmox 8.1.4
LXC OS: Ubuntu 22.04.04 fresh install (Headless)
LXC Storage: 25GiB
VCPU Cores: 2
Memory: 4096 MiB
Swap: 0
Hello, I am having trouble getting Calibre to install and run for me. I am on LXC 15 or 16 now, as I have tried multiple guides, and install methods, but none seem to work. All roads lead to the same issue.
[CODE]root@ Calibre: ~# sudo -v && wget -nv -O- https:/ /download. calibre- ebook.com/ linux-installer .sh | sudo sh /dev/stdin /download. calibre- ebook.com/ linux-installer .sh [34233/34233] -> "-" [1] 7.5.1-x86_ 64.txz
Downloadi ng calibre- 7.5.1-x86_ 64.txz ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ===]
Downloaded 146274300 bytes ebook-device to /usr/bin/ ebook-device ebook-meta to /usr/bin/ebook-meta ebook-convert to /usr/bin/ ebook-convert ebook-polish to /usr/bin/ ebook-polish markdown- calibre to /usr/bin/ markdown- calibre web2disk to /usr/bin/web2disk calibre- server to /usr/bin/ calibre- server lrf2lrs to /usr/bin/lrf2lrs lrs2lrf to /usr/bin/lrs2lrf calibre- debug to /usr/bin/ calibre- debug calibredb to /usr/bin/calibredb calibre- parallel to /usr/bin/ calibre- parallel calibre- customize to /usr/bin/ calibre- customize fetch-ebook- metadata to /usr/bin/ fetch-ebook- metadata calibre- smtp to /usr/bin/ calibre- smtp calibre to /usr/bin/calibre lrfviewer to /usr/bin/lrfviewer ebook-viewer to /usr/bin/ ebook-viewer ebook-edit to /usr/bin/ebook-edit zsh/vendor- completions/ _calibre bash-completion /completions/ neCore with error: libnss3.so: cannot open shared object file: No such file or directory
Using python executable: /usr/bin/python3
2024-02-19 14:45:42 URL:https:/
Installing to /opt/calibre
Downloading tarball signature securely...
Will download and install calibre-
100% [======
Checking downloaded file integrity...
Extracting files to /opt/calibre ...
Extracting application files...
Creating symlinks...
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Symlinking /opt/calibre/
Setting up command-line completion...
Installing zsh completion to: /usr/share/
Failed to find directory to install bash completions, using default.
Installing bash completion to: /usr/share/
Failed to import PyQt module: PyQt6.QtWebEngi
_______ _______ ______ WARNING _______ _______ ______ _______ _______ _______ _______ _______ _______ _
Setting up completion failed with error:
_______
Traceback (most recent call last): gui2/tweak_ book/main. py", line 12, in <module> ebooks/ oeb/polish/ check/css. py", line 11, in <module>
ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/opt/calibre/ lib/calibre- extensions/ python- lib.bypy. frozen/ qt/webengine. pyc)
File "calibre/linux.py", line 837, in setup_completion
File "calibre/linux.py", line 587, in write_completion
File "bypy-importer.py", line 279, in exec_module
File "calibre/
File "bypy-importer.py", line 279, in exec_module
File "calibre/
Setting up desktop integration...
xdg-desktop-menu: No writable system menu directory found.
_______ _______ ______ WARNING _______ _______ ______ _______ _______ _______ _______ _______ _______ _
Setting up desktop integration failed with error:
_______
Traceback (most recent call last): integration desktop_ integration
subprocess. CalledProcessEr ror: Command 'xdg-desktop-menu install --noupdate ./calibre- gui.desktop' returned non-zero exit status 3.
File "calibre/linux.py", line 858, in setup_desktop_
File "calibre/linux.py", line 880, in do_setup_
File "calibre/linux.py", line 958, in install_xdg_junk
File "subprocess.py", line 413, in check_call
Creating un-installer: /usr/bin/ calibre- uninstall
There were 2 warnings
* Setting up completion failed with error:
* Setting up desktop integration failed with error:
Run "calibre" to start calibre [/CODE]
[CODE]root@ Calibre: ~# calibre
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, vnc, vkkhrdisplay, linuxfb, minimal, wayland, wayland-egl, offscreen, minimalegl, xcb.
Aborted[/CODE]
Commands Run: /download. calibre- ebook.com/ linux-installer .sh | sudo sh /dev/stdin[/CODE]
[CODE]sudo apt update && apt upgrade -y[/CODE]
[CODE]sudo apt install xdg-utils wget xz-utils python3 libegl1 libopengl0 libxcb-cursor0 -y[/CODE]
[CODE]sudo -v && wget -nv -O- https:/
In my research on this issue, I came across this post and it mentioned needing libnss3.so, so I have tried installing it as well, but that did not help.
[CODE]sudo apt install libnss3 -y[/CODE]