Open OPusG5 opened 2 years ago
I had the same issue. Apparently some keys were expired.
Solution inspired by: https://stackoverflow.com/questions/73374745/error-http-dl-4-alpinelinux-org-alpine-edge-testing-untrusted-signature
`apk add -X http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/ -u alpine-keys --allow-untrusted
echo "http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/" >> /etc/apk/repositories
apk update && apk upgrade`
@dhnm Dollowed that and got:
localhost:~# apk update && apk upgrade
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86/APKINDEX.tar.gz
WARNING: Ignoring /x86/APKINDEX.tar.gz: No such file or directory
fetch http://nl.alpinelinux.org/alpine/edge/main/x86/APKINDEX.tar.gz
fetch http://nl.alpinelinux.org/alpine/edge/community/x86/APKINDEX.tar.gz
Segmentation fault
localhost:~# apk upgrade
WARNING: Ignoring /x86/APKINDEX.tar.gz: No such file or directory
Segmentation fault
localhost:~# apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86/APKINDEX.tar.gz
WARNING: Ignoring /x86/APKINDEX.tar.gz: No such file or directory
fetch http://nl.alpinelinux.org/alpine/edge/main/x86/APKINDEX.tar.gz
fetch http://nl.alpinelinux.org/alpine/edge/community/x86/APKINDEX.tar.gz
Segmentation fault
localhost:~# apk upgrade
WARNING: Ignoring /x86/APKINDEX.tar.gz: No such file or directory
Segmentation fault
Sky➜ ~ ᐅ apk upgrade
fetch http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/x86/APKINDEX.tar.gz ERROR: http://dl-cdn.alpinelinux.org/alpine/latest-stable/community: UNTRUSTED signature OK: 307 MiB in 72 packages