Today, apt failed to update when building the image with dockerfile on raspberry pie
...
---> Running in 05393fa6f242
Get:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease [265 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]
Err:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
At least one invalid signature was encountered.
Err:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
At least one invalid signature was encountered.
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [101 kB]
Err:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
At least one invalid signature was encountered.
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [114 kB]
Err:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
At least one invalid signature was encountered.
Reading package lists...
W: GPG error: http://ports.ubuntu.com/ubuntu-ports focal InRelease: At least one invalid signature was encountered.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports focal InRelease' is not signed.
W: GPG error: http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease' is not signed.
W: GPG error: http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease: At least one invalid signature was encountered.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease' is not signed.
W: GPG error: http://ports.ubuntu.com/ubuntu-ports focal-security InRelease: At least one invalid signature was encountered.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports focal-security InRelease' is not signed.
...
The solution is:
in http://ftp.debian.org/debian/pool/main/libs/libseccomp/ Download the latest version of libseccomp2. The current version is libseccomp2_ 2.5.1-1_ Armhf. DEB
install on raspberry pie
>>> sudo dpkg -i libseccomp2_2.5.1-1_armhf.deb
“20999;” 21448;”
[br] https://askubuntu.com/a/1264921/685786
https://stackoverflow.com/a/64463211/7151777
Read More:
- How to Solve apt get update problem: usr/lib/apt/methods/HTTPS could not be found_PUBKEY 7EA0A9C3F273FCD8
- ubuntu executes apt-get update and reports Failed to fetch/replace Ali source
- About the problem that Ubuntu kylin can’t locate the package update
- Linux environment setup – Update https://apt.repos.intel.com report errors
- Huawei cloud Kunpeng server docker installation VIM error
- Ubuntu 18.04 desktop installation tasksel aptitude failed (100) problem repair
- Synergy Ubuntu 18 + win7 timed out or new client is unresponsive
- Mex compiler error handling in MATLAB and GCC installation in Ubuntu
- Win10 system virtual machine installation of Ubuntu system failed, prompt: UBI language failed with exit code 1
- Samba getpeername failed. Error was transport endpoint is not connected error
- Using apt mirror to build Debian local warehouse
- Err:1 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu xxxxxx 404 Not Found [IP: 101.6.8.193 80]
- FileZilla 425 Can’t open data connection
- An error is reported when the jeecg boot project connects to the MySQL database running on docker
- Failed to initialize nvml driver / library version mismatch due to automatic update of NVIDIA driver
- Debian/Ubuntu uses proxy for gpg and apt-key-error resolution: gpg: keyserver receive failed: Connection timed out
- Firewall CMD command in CentOS 7
- git clone https:// gnutls_handshake() failed: The TLS connection was non-properly terminated.
- Error response from daemon: OCI runtime create failed: container_linux.go:380
- About the problem I encountered: 226 transfer done but failed to open directory