로그인

검색

[sudo apt update] 에러, ERROR

[sudo apt update] 에러, ERROR

 

Err:10 https://nginx.org/packages/mainline/ubuntu jammy InRelease
  The following signatures were invalid: EXPKEYSIG ABF5BD827BD9BF62 nginx signing key <[email protected]>

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://nginx.org/packages/mainline/ubuntu jammy InRelease: The following signatures were invalid: EXPKEYSIG ABF5BD827BD9BF62 nginx signing key <[email protected]>
W: Failed to fetch https://nginx.org/packages/mainline/ubuntu/dists/jammy/InRelease  The following signatures were invalid: EXPKEYSIG ABF5BD827BD9BF62 nginx signing key <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.

 

 

 

 

해결

sudo su -
curl -s https://nginx.org/keys/nginx_signing.key | gpg --dearmor > /usr/share/keyrings/nginx-keyring.gpg

 

 

 

 

 

 

 

 

또 다른 에러

 

Err:1 https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu jammy InRele                     ase
  Certificate verification failed: The certificate is NOT trusted. The certifica                     te chain uses not yet valid certificate.  Could not handshake: Error in the cert                     ificate verification. [IP: 104.18.135.24 443]

Err:4 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
  Certificate verification failed: The certificate is NOT trusted. The certifica                     te chain uses not yet valid certificate.  Could not handshake: Error in the cert                     ificate verification. [IP: 185.125.190.80 443]

 

 

해결 ; 날짜와 시간이 잘못 표시된다. 그걸 수정하니, 에러가 사라졌다.

hoom@hcp:~$ sudo timedatectl set-ntp on

hoom@hcp:~$ timedatectl
                   Local time: Fri 2025-05-02 11:41:47 KST
                   Universal time: Fri 2025-05-02 02:41:47 UTC
                   RTC time: n/a
                   Time zone: Asia/Seoul (KST, +0900)
                   System clock synchronized: yes
                   NTP service: active
                   RTC in local TZ: no

 

 

 

 

 

 

미해결

 

aqaq.JPG

 

해결

 

 

이 게시물을

이 댓글을 삭제하시겠습니까?