Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz: BAD signature #551

Open
gunda-sec opened this issue Nov 25, 2020 · 1 comment

Comments

@gunda-sec
Copy link

gunda-sec commented Nov 25, 2020

WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz: BAD signature
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz: BAD signature
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz: BAD signature
ERROR: unsatisfiable constraints:
openssl (missing):
required by: world[openssl]
ERROR: Service 'nginx' failed to build : The command '/bin/sh -c apk add --no-cache openssl && chmod -R g=u /var/cache/nginx && mkdir /var/run/defectdojo && chmod -R g=u /var/run/defectdojo && mkdir -p /etc/nginx/ssl && chmod -R g=u /etc/nginx && true' returned a non-zero code: 1

I have restarted the docker but still the error repeats

@ncopa
Copy link
Collaborator

ncopa commented Nov 25, 2020

I cannot reproduce.

ncopa-desktop:~$ docker run --rm -it alpine:3.12
/ # apk add --no-cache openssl
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
(1/1) Installing openssl (1.1.1g-r0)
Executing busybox-1.31.1-r16.trigger
OK: 6 MiB in 15 packages

I think it might be due to something on your network.
can you please try use https instead?

sed -i -e 's/http:/https:/' /etc/apk/repositories

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants