늘모자란, 개발 :: apt / Failed to fetch Links (NO_PUBKEY)

늘모자란, 개발

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1397BC53640DB551
W: Failed to fetch http://dl.google.com/linux/mod-pagespeed/deb/dists/stable/Release
W: Some index files failed to download. They have been ignored, or old ones used instead.


나는 pagespeed 를 아파치 모듈에 붙여서 사용하고 있다. 그런데 언제부터인지 계속해서 업데이트가 안되었다 (위 내용처럼)
오늘은 정말 거슬려서 구글링을 좀 해봤고 해당을 찾을 수 있었는데... 


apt 명령어 사용시 공개키를 이용하게 되는데 모종의 이유로 이 키가 삭제되거나 누락되면 자동으로 다시 받지 않는 모양이다
https://askubuntu.com/questions/766883/there-is-no-public-key-available-for-the-following-key-ids-1397bc53640db551

여기서 볼 수 있지만, 다음과 같은 명령어로 키를 내려받아주면 해결된다

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys [KEY NUMBER]


2018/11/12 10:48 2018/11/12 10:48