apk fails to install a zero-dependency package, according to the error due to dependency conflicts
As part of a repository I'm setting up to build nightly git versions of KDE packages I've been trying to build an updated version (compared to aports) of plasma-workspace. It builds fine but afterwards can not be installed:
/ # apk add plasma-workspace
ERROR: unable to select packages:
polkit-qt-1-0.114.0-r2:
conflicts: polkit-qt-1-9999_git20220918-r0
satisfies: kauth5-5.110.0-r1[so:libpolkit-qt5-core-1.so.1]
kguiaddons5-5.110.0-r1:
conflicts: kguiaddons-9999_git20231006-r0[cmd:kde-geo-uri-handler=5.110.0-r1]
satisfies: kio5-5.110.0-r1[so:libKF5GuiAddons.so.5] kdeclarative5-5.110.0-r1[so:libKF5GuiAddons.so.5]
kconfigwidgets5-5.110.0-r1[so:libKF5GuiAddons.so.5] kxmlgui5-5.110.0-r1[so:libKF5GuiAddons.so.5]
kcmutils5-5.110.0-r1[so:libKF5GuiAddons.so.5]
polkit-qt-1-9999_git20220918-r0:
conflicts: polkit-qt-1-0.114.0-r2
satisfies: kauth-9999_git20231011-r0[so:libpolkit-qt6-core-1.so.1]
kguiaddons-9999_git20231006-r0:
conflicts: kguiaddons5-5.110.0-r1[cmd:kde-geo-uri-handler=9999_git20231006-r0]
satisfies: kio-9999_git20231012-r0[so:libKF6GuiAddons.so.6] kcolorscheme-9999_git20231011-r0[so:libKF6GuiAddons.so.6]
I can however install any of it's subpackages (most notably plasma-workspace-libs, which depends on tons of KDE Frameworks packages) just fine.
While debugging this problem I brought the package back to zero dependencies, currently the following .PKGINFO
comes out of it:
# Generated by abuild 3.11.21-r0
# using fakeroot version 1.32.1
# Mon Oct 16 08:15:34 UTC 2023
pkgname = plasma-workspace
pkgver = 9999_git20231012-r0
pkgdesc = KDE Plasma Workspace
url = https://kde.org/plasma-desktop/
builddate = 1697444134
packager = Unknown
size = 14958592
arch = aarch64
origin = plasma-workspace
commit = 0a04689a1eea03dc0b60de73fb9426d6c14dd008-dirty
maintainer = team/kde <bribbers@disroot.org>
license = (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-or-later AND MIT AND LGPL-2.1-only AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-only
# automatically detected:
datahash = 06228dd3f68affbcbef33a9327fff662855a526fda117f4c1b82fe57b3277f3b
apk info -R
output (omitting the dependency list for plasma-workspace=5.27.8-r1 from aports):
/ # apk info -R plasma-workspace
plasma-workspace-9999_git20231012-r0 depends on:
However, still the same error. I don't understand how there can be dependency conflicts when the packages has literally 0 dependencies.
The APK of the package for aarch64 can be found plasma-workspace-9999_git20231012-r0.apk.