apk-fetch fails when cdrom repo is present
ran into some funky behavior when downloading packages while running from alpine-virt-3.15.0-x86_64.iso
:
sed -ri 's/"1fhr"/"c1fhr"/' /sbin/setup-apkrepos # bugfix community-repo flag
setup-interfaces -ar
setup-apkrepos -1c
apk update
apk fetch -R eudev
this fails with the following error:
ERROR: unable to select packages:
/bin/sh (virtual):
provided by: busybox
required by: eudev-3.2.11_pre1-r0[/bin/sh]
udev-init-scripts-35-r0[/bin/sh]
however if you remove the cdrom repo, it works:
sed -ri /cdrom/d /etc/apk/repositories
apk fetch -R eudev
# Downloading libblkid-2.37.3-r0
# Downloading eudev-libs-3.2.11_pre1-r0
I noticed that apk add
works alright, just not apk fetch
. Bug?