You are not logged in.
I am using Calibre ebook library manager. When I encountered a bug, I tried to update the package with pacman. Even though I am using it at this moment, pacman does not list it as installed. I do
pacman -Syu calibre and the installation/upgrade of the packages and dependencies fails because they are found to already exist in the filesystem.
Is manually deleting the listed files then installing Calibre again the right method? Or can I tell pacman this package is already installed and just update it somehow?
Thanks
Last edited by shoelesshunter (2022-07-15 02:11:42)
Offline
The full output from pacman is always more helpful than paraphrasing.
Offline
sudo pacman -Syu calibre
:: Synchronizing package databases...
core is up to date
extra 1720.5 KiB 2.15 MiB/s 00:01 [#################################] 100%
community 6.7 MiB 1208 KiB/s 00:06 [#################################] 100%
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (32) Old Version New Version Net Change Download Size
extra/chmlib 0.40-6 0.16 MiB
extra/gtk-vnc 1.3.0-1 1.3.1-1 0.00 MiB 0.15 MiB
community/jxrlib 0.2.4-1 0.68 MiB
extra/libnotify 0.7.12-1 0.8.0-1 0.03 MiB 0.06 MiB
extra/libunrar 1:6.1.7-1 0.30 MiB
community/mathjax 3.2.2-1 23.02 MiB
community/optipng 0.7.7-2 0.10 MiB
community/podofo 0.9.8-1 4.41 MiB
core/python-brotli 1.0.9-8 0.74 MiB
community/python-brotlicffi 1.0.9.2-3 0.10 MiB
community/python-cchardet 2.1.7-4 0.27 MiB
community/python-css-parser 1.0.7-1 1.74 MiB
extra/python-cssselect 1.1.0-9 0.14 MiB
community/python-dnspython 1:2.2.1-1 1.95 MiB
extra/python-feedparser 6.0.3-1 0.56 MiB
community/python-html5-parser 0.4.10-3 0.49 MiB
community/python-inflate64 0.1.3-1 0.08 MiB
community/python-mechanize 1:0.4.8-1 1.07 MiB
community/python-multivolumefile 0.2.3-3 0.04 MiB
community/python-py7zr 0.19.0-1 0.52 MiB
community/python-pybcj 0.6.1-1 0.08 MiB
community/python-pychm 0.8.6-6 0.08 MiB
community/python-pyppmd 0.18.2-1 0.09 MiB
extra/python-pyqt5-webengine 5.15.6-1 0.60 MiB
community/python-pyzstd 0.15.2-1 0.79 MiB
community/python-regex 2022.6.2-1 1.69 MiB
extra/python-sgmllib3k 1.0.0-4 0.04 MiB
community/python-texttable 1.6.4-3 0.07 MiB
community/python-unrardll 0.1.5-1 0.05 MiB
community/python-zeroconf 0.38.7-1 0.67 MiB
extra/qt5-imageformats 5.15.5+kde+r4-1 0.20 MiB
community/calibre 5.44.0-1 90.19 MiB
Total Download Size: 0.21 MiB
Total Installed Size: 132.14 MiB
Net Upgrade Size: 130.97 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
gtk-vnc-1.3.1-1-x86_64 155.1 KiB 1108 KiB/s 00:00 [#################################] 100%
libnotify-0.8.0-1-x86_64 58.4 KiB 730 KiB/s 00:00 [#################################] 100%
Total (2/2) 213.5 KiB 712 KiB/s 00:00 [#################################] 100%
(32/32) checking keys in keyring [#################################] 100%
(32/32) checking package integrity [#################################] 100%
(32/32) loading package files [#################################] 100%
(32/32) checking for file conflicts [#################################] 100%
error: failed to commit transaction (conflicting files)
calibre: /usr/bin/calibre exists in filesystem
calibre: /usr/bin/calibre-customize exists in filesystem
calibre: /usr/bin/calibre-debug exists in filesystem
calibre: /usr/bin/calibre-parallel exists in filesystem
calibre: /usr/bin/calibre-server exists in filesystem
calibre: /usr/bin/calibre-smtp exists in filesystem
calibre: /usr/bin/calibredb exists in filesystem
calibre: /usr/bin/ebook-convert exists in filesystem
calibre: /usr/bin/ebook-device exists in filesystem
calibre: /usr/bin/ebook-edit exists in filesystem
calibre: /usr/bin/ebook-meta exists in filesystem
calibre: /usr/bin/ebook-polish exists in filesystem
calibre: /usr/bin/ebook-viewer exists in filesystem
calibre: /usr/bin/fetch-ebook-metadata exists in filesystem
calibre: /usr/bin/lrf2lrs exists in filesystem
calibre: /usr/bin/lrfviewer exists in filesystem
calibre: /usr/bin/lrs2lrf exists in filesystem
calibre: /usr/bin/markdown-calibre exists in filesystem
calibre: /usr/bin/web2disk exists in filesystem
calibre: /usr/share/bash-completion/completions/calibre exists in filesystem
calibre: /usr/share/bash-completion/completions/calibre-debug exists in filesystem
calibre: /usr/share/bash-completion/completions/calibre-server exists in filesystem
calibre: /usr/share/bash-completion/completions/calibre-smtp exists in filesystem
calibre: /usr/share/bash-completion/completions/ebook-convert exists in filesystem
calibre: /usr/share/bash-completion/completions/ebook-device exists in filesystem
calibre: /usr/share/bash-completion/completions/ebook-edit exists in filesystem
calibre: /usr/share/bash-completion/completions/ebook-meta exists in filesystem
calibre: /usr/share/bash-completion/completions/ebook-polish exists in filesystem
calibre: /usr/share/bash-completion/completions/ebook-viewer exists in filesystem
calibre: /usr/share/bash-completion/completions/fetch-ebook-metadata exists in filesystem
calibre: /usr/share/bash-completion/completions/lrf2lrs exists in filesystem
calibre: /usr/share/bash-completion/completions/lrfviewer exists in filesystem
calibre: /usr/share/metainfo/calibre-ebook-edit.metainfo.xml exists in filesystem
calibre: /usr/share/metainfo/calibre-ebook-viewer.metainfo.xml exists in filesystem
calibre: /usr/share/metainfo/calibre-gui.metainfo.xml exists in filesystem
calibre: /usr/share/zsh/site-functions/_calibre exists in filesystem
Errors occurred, no packages were upgraded. edit: just realized the Calibre I was using was one I installed to /opt using the zip from the site. I removed it. But still can't re-do with pacman.
Last edited by shoelesshunter (2022-07-15 01:41:57)
Offline
just realized the Calibre I was using was one I installed to /opt using the zip from the site. I removed it. But still can't re-do with pacman.
That would explain it.
If you had installed a program manually without using pacman, for example through make install, you have to remove/uninstall this program with all of its files.
Offline
sorry. I didn't realize that's how it was installed before I made the post. it turns out when I did that, the script made symlinks from /opt to those files listed. I manually removed the symlinks, and reinstalled with pacman. thanks.
Offline