问题
ERROR: unable to select packages:
openssh-client-default-8.6_p1-r3 (no such package):
required by: world[openssh-client-default-8.6_p1-r3]
原因
原因是因为仓库中没有所需要的包 这里是 xxx-r2, 但是仓库中是r3 [2]
解决方案
找到具有这个包的仓库 [1]
apk add openssh --repository=http://dl-cdn.alpinelinux.org/alpine/v3.9/main
参考文献
[1] https://stackoverflow.com/questions/66221278/alpine-docker-define-specific-python-version-python3-3-8-7-r0breaks-worldpyt
[2] http://pub.mirrors.aliyun.com/alpine/v3.14/main/x86_64/