chrome ? Edge ? が GPG エラー

久しぶりのエントリです。

apt update すると以下のエラーが出た。まあ、apt リポジトリの GPG キーの期限切れを更新するってだけなのですが、相変わらず覚えられないのでメモ。

W: GPG error: https://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FD533C07C264648F
E: The repository 'https://dl.google.com/linux/chrome/deb stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

メッセージには chrome とあるが、ここには Edge しかインストールしていないので Edge ベースのブラウザは同じようになるかもしれません。

Claude に聞くと以下のコマンドでOKだった。 gpg –daemor でよかったっけ、そっか。

% wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg

解決。


Comments

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です