하루의 쉼터

[Error] apt update gpg error 본문

프로그래밍/Linux

[Error] apt update gpg error

Changun An 2024. 2. 1. 16:22
반응형

1. 우분투에서 apt update를 사용하려고 하니 gpg error를 볼 수 있었다.

만료된  public key 혹은 서버에 public key가 등록되지 않아 생긴 문제로 보인다. 

 

2. error에서 발생된 EXPKEYSIG 뒤 public key를 하단에 넣어서 해결 하면 된다.

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys "public key"

 

* Reference

https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey

 

How do I fix the GPG error "NO_PUBKEY"?

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following: W: GPG error: http://ppa.launchpad.net trusty InRele...

askubuntu.com

 

반응형
Comments