apk3: conflicts are broken since recently
Some of the recent changes broke package conflicts. Instead, the !
is stripped and it's considered a dependency. The actual package metadata in adb is still correct.
Some of the recent changes broke package conflicts. Instead, the !
is stripped and it's considered a dependency. The actual package metadata in adb is still correct.
changed the description
Probably 1ab7f311 or the related ones. There are several conflict cases in the test suite, but not sure what slipped in. Do you have example?
In my case I have power-profiles-daemon which has a conflict with tlp:
$ apk adbdump packages/main/x86_64/power-profiles-daemon-0.20-r1.apk
#%SCHEMA: 676B6370
# ADB block, size: 1896, compat: 0, ver: 0
info:
name: power-profiles-daemon
version: 0.20-r1
unique-id: 3531f3f5af6bc0a1dadc293f4991f977bcb779f1
description: D-Bus daemon for power management control
arch: x86_64
license: GPL-3.0-or-later
origin: power-profiles-daemon
maintainer: Val Packett <val@packett.cool>
url: https://gitlab.freedesktop.org/upower/power-profiles-daemon
build-time: 1710958361
installed-size: 132 KiB
depends: # 8 items
- python-gobject
- so:libc.so
- so:libgio-2.0.so.0
- so:libglib-2.0.so.0
- so:libgobject-2.0.so.0
- so:libgudev-1.0.so.0
- so:libpolkit-gobject-1.so.0
- !tlp
...
However, upgrading apk starts pulling in tlp instead:
$ apk info --depends power-profiles-daemon
power-profiles-daemon-0.20-r0 depends on:
python-gobject
so:libc.so
so:libgio-2.0.so.0
so:libglib-2.0.so.0
so:libgobject-2.0.so.0
so:libgudev-1.0.so.0
so:libpolkit-gobject-1.so.0
tlp
closed with commit 82bcfcc8