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/linux/chrome/deb stable Release:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
이런 오류가 발생하는 경우엔, 아래 명령어를 입력해주면 해결됩니다.
jaehoon@jaehoon ~ $ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
PGP 키를 wget으로 받아서 표준 출력으로 출력하게 만들어서, 파이프로 키 메니져에게 전달합니다. 키 메니져에서도 표준 입력을 통해 GPG 키를 받겠다고 알려줍니다.
이 방법이 불안하신 분들은,
jaehoon@jaehoon ~ $ wget -q -O google.gpg https://dl-ssl.google.com/linux/linux_signing_key.pub
이렇게 다운로드 받으셔서, google.gpg 내용을 확인하신 후에 적용하시면 되겠습니다.
'Anything' 카테고리의 다른 글
Raspberry Pi 3 최초 설정하기! (0) | 2017.11.02 |
---|---|
리눅스 민트에 카카오톡 설치하기 + 자동화 스크립트 (8) | 2017.08.06 |
폰을 바꾼다. 하하 Samsung Galaxy S8! + 후기 (0) | 2017.07.28 |
Spinlock과 Read-Write Spinlock을 구현해보았다. (0) | 2017.07.24 |
음, ... 리눅스에서 돌릴 수 있는 php 개발환경! (0) | 2017.07.23 |