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

At least one invalid signature was encountered. #898

Closed
raquigu opened this issue Oct 7, 2019 · 11 comments
Closed

At least one invalid signature was encountered. #898

raquigu opened this issue Oct 7, 2019 · 11 comments

Comments

@raquigu
Copy link

raquigu commented Oct 7, 2019

I have this issue:

W: GPG error: http://security-cdn.debian.org/debian-security buster/updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://security.debian.org/debian-security buster/updates InRelease' is not signed.
W: GPG error: http://cdn-fastly.deb.debian.org/debian buster InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian buster InRelease' is not signed.
W: GPG error: http://cdn-fastly.deb.debian.org/debian buster-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian buster-updates InRelease' is not signed.

@yosifkit
Copy link
Member

yosifkit commented Oct 7, 2019

That usually means the mirror is having issues (possibly partially out of date; i.e. not completely synced from other mirrors) and often clears itself up. Regardless, there is not anything we can do in the image.

Edit: works fine from here:

$docker run -it --rm php bash
root@e6273d8761c8:/# apt-get update
Get:1 http://security-cdn.debian.org/debian-security buster/updates InRelease [39.1 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian buster InRelease [122 kB]
Get:4 http://security-cdn.debian.org/debian-security buster/updates/main amd64 Packages [98.2 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian buster/main amd64 Packages [7899 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian buster-updates/main amd64 Packages [5792 B]
Fetched 8212 kB in 2s (4156 kB/s)                        
Reading package lists... Done

@yosifkit yosifkit closed this as completed Oct 7, 2019
@raquigu
Copy link
Author

raquigu commented Oct 8, 2019

Thank you

@hacfi
Copy link

hacfi commented Jul 24, 2020

Can also happen if your harddrive gets full (experienced on Docker for Mac).

@rbarrera87
Copy link

Can also happen if your harddrive gets full (experienced on Docker for Mac).

And not only when you HD is full I had like 50GB free and I had to make some space (removing some images).
Amazing advice!!

@webdog
Copy link

webdog commented Nov 13, 2020

Can also happen if your harddrive gets full (experienced on Docker for Mac).

This is partially true and partially false. Docker for macOS runs on a dedicated VM, of which Docker allocates specific/dedicated Disk and RAM to the VM. In my case, 80% of my overall disk was available but the allocated Disk image size was filled to capacity (60gb)

Ref: https://gist.github.com/stefanfoulis/5bd226b25fa0d4baedc4803fc002829e

You can adjust this in the GUI: (Screen taken after I cleared out my unused containers and images).
image

@juampe
Copy link

juampe commented Nov 15, 2020

I think that is related to some LSM component of the docker official image (in this case armhf) and exec/capabilities permissions. In this simple case sid flavour is unable to handle time corectly. And this, related to the certificate check, is the cause of invalid signature. It happends too in ubuntu focal.

# docker run -it debian:buster /bin/date
Sun Nov 15 11:30:44 UTC 2020
# docker run -it debian:sid /bin/date 
Thu Jan  1 00:00:00 UTC 1970

@JoelLinn
Copy link

JoelLinn commented Nov 15, 2020

What is the version of libseccomp on the host? timestamps have been changed to 64bit even on 32bit systems. If there is a mismatch between user space and kernel it needs to be intercepted and converted. I think there was a bug about this but I cant find it right now.

Edit: see here debuerreotype/docker-debian-artifacts#106

@juampe
Copy link

juampe commented Nov 17, 2020

Solved, I upgraded raspbian libseccomp2 to debian libseccomp2 2.5.0-3 (sid unstable apt pinning)
ii libseccomp2:armhf 2.5.0-3 armhf high level interface to Linux seccomp filter
Now it works great

docker run -it debian:sid /bin/date
Tue Nov 17 13:09:46 UTC 2020

@irvifa
Copy link

irvifa commented Mar 9, 2021

For MacOS user we can prune the image using docker prune.

@divyangjp
Copy link

Can also happen if your harddrive gets full (experienced on Docker for Mac).

This is partially true and partially false. Docker for macOS runs on a dedicated VM, of which Docker allocates specific/dedicated Disk and RAM to the VM. In my case, 80% of my overall disk was available but the allocated Disk image size was filled to capacity (60gb)

Ref: https://gist.github.com/stefanfoulis/5bd226b25fa0d4baedc4803fc002829e

You can adjust this in the GUI: (Screen taken after I cleared out my unused containers and images). image

That doesn't make any sense but works!!! 🎉

@WurmD
Copy link

WurmD commented Nov 24, 2023

Worked here after
docker builder prune

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

10 participants