apk3 fails to parse apk2 install_if
When I run apk3 -s upgrade
on an apk2 system I get false package installation:
~/src/apk-tools$ output/src/apk -s upgrade
(1/4) Installing opensmtpd-openrc (7.4.0p1-r1)
(2/4) Installing opensmtpd-doc (7.4.0p1-r1)
(3/4) Installing owfs-doc (3.2p4-r0)
(4/4) Installing tcptraceroute-doc (1.5b7-r4)
OK: 4855 MiB in 1366 packages
apk2:
~$ apk -s upgrade
OK: 4855 MiB in 1366 packages
It seems that apk3 doesn't parse the install_if field correctly in apk2 packages:
~/src/apk-tools$ output/src/apk info tcptraceroute-doc --install-if
tcptraceroute-doc-1.5b7-r4 has auto-install rule:
docs
apk2:
~$ apk info tcptraceroute-doc --install-if
tcptraceroute-doc-1.5b7-r4 has auto-install rule:
docs
tcptraceroute=1.5b7-r4
This may be related to the still undocumented digit{letter{digit}}
format used on alpine linux (#10972 (comment 380899)).
Edited by Sertonix