赞
踩
- / # apk add curl
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/x86_64/APKINDEX.tar.gz
- WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/: No such file or directory
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/x86_64/APKINDEX.tar.gz
- WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/: No such file or directory
- ERROR: unable to select packages:
- curl (no such package):
- required by: world[curl]
apk update
apk add xxx
都无法执行。
更换使用下面源:
vi /etc/apk/repositories
-
- https://mirror.reenigne.net/alpine/edge/community/
- https://mirror.reenigne.net/alpine/edge/main/
- https://mirror.reenigne.net/alpine/edge/testing/
-
- https://mirror.reenigne.net/alpine/v3.19/main/
- https://mirror.reenigne.net/alpine/v3.19/community/
如果还不行: vi /etc/resolv.conf
- meserver 8.8.8.8
- nameserver 114.114.114.114
- nameserver 127.0.0.53
- nameserver 223.5.5.5
- options edns0
第二步没有再验证,不确定有效 。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。