Quantcast
Viewing all articles
Browse latest Browse all 5991

When executing "apk update" in alpine Linux, temporary error, BAD signature [closed]

temporary error and BAD signature error.

I have created local alpine package repository and I have generated local signing key for packages in offline.I have encounted this error when I build docker image using "make build-docker-full" command in ubuntu offline mode.

fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gzWARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.20/main: temporary error (try again later)fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gzWARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.20/community: temporary error (try again later)unavailable, 0 stale: 66 distinct packages availableWARNING: opening file:///opt/apks: BAD signature

ERROR: failed to solve: process "/bin/sh -c apk update" did not complete successfully: exit code:4make: *** [Makefile:305 build-docker-full] Error 1

What should I do to fix this error?


Viewing all articles
Browse latest Browse all 5991

Trending Articles