Open
Description
Describe the bug
When trying to install packages with the tilde (~) character in name, such as commit hash stamped packages (sedutil-2022.12.27~7a0cda7f-r2.apk) the new installation code for APK does not send entire package name/url to wget as such:
23348 root 1216 S /www/cgi-bin/cgi-exec
23349 root 1396 S {package-manager} /bin/sh /usr/libexec/package-manager-call install sedutil
23350 root 1396 S {package-manager} /bin/sh /usr/libexec/package-manager-call install sedutil
23352 root 12788 S apk add sedutil
23362 root 7976 S wget -q -T 60 https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/sedutil-2022.1
Error is present also in manual apk add:
root@BPI-R4:~# apk add sedutil
(1/2) Installing libstdcpp6 (13.3.0-r4)
Executing libstdcpp6-13.3.0-r4.post-install
(2/2) Installing sedutil (2022.12.27~7a0cda7f-r2)
83% ############################################################################################################################################
Wget stalled in same way:
root@BPI-R4:~# ps w | grep sed
23422 root 12788 S apk add sedutil
23432 root 7976 S wget -q -T 60 https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/sedutil-2022.1
Just to confirm, manual download and apk add works:
root@BPI-R4:~# apk add --allow-untrusted sedutil-2022.12.27\~7a0cda7f-r2.apk
(1/2) Installing libstdcpp6 (13.3.0-r4)
Executing libstdcpp6-13.3.0-r4.post-install
(2/2) Installing sedutil (2022.12.27~7a0cda7f-r2)
Executing sedutil-2022.12.27~7a0cda7f-r2.post-install
OK: 121 MiB in 327 packages
OpenWrt version
r28203-f4492b6b1c
OpenWrt release
SNAPSHOT
OpenWrt target/subtarget
mediatek/filogic
Device
Bananapi BPI-R4
Image kind
Official downloaded image
Steps to reproduce
No response
Actual behaviour
No response
Expected behaviour
No response
Additional info
No response
Diffconfig
No response
Terms
- I am reporting an issue for OpenWrt, not an unsupported fork.