etc.
[Ubuntu] apt update 에러
Jisu_Park
2023. 2. 28. 17:38
에러 1.
에러 메시지:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
> PubKey가 없음 > 명령어를 사용해 만들어두었던 PubKey 추가한 후 아래 명령어 실행함
https://askubuntu.com/questions/1182817/unable-to-install-google-cloud-on-ubuntu-18-04-tls
key 생성 관련은 ssh pubkey 생성으로 구글링 할 것
에러 2.
에러 메시지:
The repository 'https://packages.cloud.google.com/apt cloud-sdk InRelease' is not signed.
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
https://groups.google.com/g/gce-discussion/c/zeGb4gdK2Iw?pli=1
에러 3.
에러 메시지: apt does not have a stable CLI interface. Use with caution in scripts.
apt 명령어의 경우 사용자와의 interaction 에 중점을 둔 CLI 이기에 script 내에서 사용하기에 부적절하다는 에러로 apt-get 등의 명령어로 대체하여 사용하면 된다.
ex> sudo apt update(x) / sudo apt-get update(o)
Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
https://stricky.tistory.com/181