Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73827 - pacman upgrade to kde-cli-tools-5.24.1-1 fails (file conflicts with kdebase-runtime 17.08.3-3)

Attached to Project: Arch Linux
Opened by Uwe Falke (ufa) - Thursday, 17 February 2022, 01:04 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 17 February 2022, 03:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The conflict check fails for no apparent reason WRT kde-cli-tools target version kde-cli-tools-5.24.1-1 (see below) conflicting with installed kdebase-runtime 17.08.3-3 (not listed for update). The files found to conflict do exist indeed but are not listed in /var/lib/pacman/local/kde-cli-tools-5.23.4-1/files. For all conflicting files there is however a file path listed in said file with a '5' appended, e.g. usr/bin/kde-open5.
However, the new package contains both these *5 paths as well as related ones without trailing '5':
tar -tf kde-cli-tools-5.24.1-1-x86_64.pkg.tar
...
usr/bin/kde-open
usr/bin/kde-open5
usr/bin/kdecp
usr/bin/kdecp5
usr/bin/kdemv
usr/bin/kdemv5
usr/bin/kdesu
usr/bin/keditfiletype
usr/bin/keditfiletype5
usr/bin/kioclient
usr/bin/kioclient5
usr/bin/kmimetypefinder
usr/bin/kmimetypefinder5
usr/bin/kstart
usr/bin/kstart5
usr/bin/ksvgtopng
usr/bin/ksvgtopng5
...

So, there is indeed a conflict due to (erroneous?) package building ...

Additional info:
* kde-cli-tools-5.24.1-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
# pacman -Qs kdebase-runtime
local/kdebase-runtime 17.08.3-3
Plugins and applications necessary for the running of KDE applications
# pacman -Qs kde-cli-tools
local/kde-cli-tools 5.23.4-1 (plasma)
Tools based on KDE Frameworks 5 to better interact with the system

# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
:: Replace hwids with core/hwdata? [Y/n] Y
:: Replace quazip with extra/quazip-qt5? [Y/n] Y
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: mesa will be installed before its libglvnd dependency
warning: dependency cycle detected:
warning: phonon-qt5-gstreamer will be installed before its phonon-qt5 dependency
warning: dependency cycle detected:
warning: python-incremental will be installed before its python-twisted dependency
warning: dependency cycle detected:
warning: lib32-mesa will be installed before its lib32-libglvnd dependency

warning: insufficient columns available for table display
Packages (1048) ... kde-accessibility-meta-21.12-2
kde-applications-meta-21.12-2 kde-cli-tools-5.24.1-1 kde-dev-scripts-21.12.2-1
kde-dev-utils-21.12.2-1 kde-education-meta-21.12-2 kde-games-meta-21.12-2
kde-graphics-meta-21.12-2 kde-gtk-config-5.24.1-1 kde-multimedia-meta-21.12-2
kde-network-meta-21.12-2 kde-pim-meta-21.12-2 kde-sdk-meta-21.12-2
kde-system-meta-21.12-2 kde-utilities-meta-21.12-2 kdebugsettings-21.12.2-1
kdeclarative-5.91.0-1 kdeconnect-21.12.2-1 kdecoration-5.24.1-1 kded-5.91.0-1
kdeedu-data-21.12.2-1 kdegraphics-mobipocket-21.12.2-1
kdegraphics-thumbnailers-21.12.2-1 kdelibs4support-5.91.0-1
kdenetwork-filesharing-21.12.2-1 kdenlive-21.12.2-1 kdepim-addons-21.12.2-2
kdepim-runtime-21.12.2-2 kdeplasma-addons-5.24.1-1 kdesdk-kioslaves-21.12.2-1
kdesdk-thumbnailers-21.12.2-1 kdesu-5.91.0-1 ...


Total Installed Size: 13620.62 MiB
Net Upgrade Size: -676.98 MiB

:: Proceed with installation? [Y/n] Y
...
(1046/1046) checking for file conflicts [##################################] 100%
error: failed to commit transaction (conflicting files)
kde-cli-tools: /usr/bin/kde-open exists in filesystem (owned by kdebase-runtime)
kde-cli-tools: /usr/bin/keditfiletype exists in filesystem (owned by kdebase-runtime)
kde-cli-tools: /usr/bin/kioclient exists in filesystem (owned by kdebase-runtime)
kde-cli-tools: /usr/bin/kmimetypefinder exists in filesystem (owned by kdebase-runtime)
kde-cli-tools: /usr/bin/kstart exists in filesystem (owned by kdebase-runtime)
kde-cli-tools: /usr/bin/ksvgtopng exists in filesystem (owned by kdebase-runtime)
Errors occurred, no packages were upgraded.


This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Thursday, 17 February 2022, 03:58 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Thursday, 17 February 2022, 01:44 GMT
You need to do some system cleanup. kdebase-runtime was dropped to the AUR three and a half years ago, and recently even deleted from there.

Loading...