CloudflareパッケージのUpdateでGPGエラーが発生する - aktnk/til GitHub Wiki
発生した現象
-
sudo apt updateすると、下記のエラーメッセージが表示されるW: 署名照合中にエラーが発生しました。リポジトリは更新されず、過去のインデックスファイルが使われます。GPG エラー: https://pkg.cloudflareclient.com nobl InRelease: 以下の署名が無効です: EXPKEYSIG 6E2DD2174FA1C3BA Cloudflare Package Repository <[email protected]> W: https://pkg.cloudflareclient.com/dists/noble/InRelease の取得に失敗しました 以下の署名が無効です: EXPKEYSIG 6E2DD2174FA1C3BA Cloudflare Package Repository <[email protected]> -
実行環境
- OS : Ubuntu 24.04.3 LTS
対応
-
Cloudflare WARP packagesのUbuntuセクションの記述を参考に、
gpg keyを更新するUbuntu Notice: The public key requires updating if it was installed before 2025-09-12. Make sure to re-run the "Add cloudflare gpg key" step below to ensure the repository remains functional beyond 2025-12-04 The supported releases are: Noble (24.04) Jammy (22.04) Focal (20.04) Older builds exist for: Bionic (18.04) Xenial (16.04) # Add cloudflare gpg key curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg # Add this repo to your apt repositories echo "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list # Install sudo apt-get update && sudo apt-get install cloudflare-warp -
実施結果
$ curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg $ cat /etc/apt/sources.list.d/cloudflare-client.list deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ noble main $ sudo apt update ヒット:1 https://dl.google.com/linux/chrome/deb stable InRelease ヒット:2 https://packages.microsoft.com/repos/code stable InRelease ヒット:3 https://pkg.cloudflareclient.com noble InRelease ヒット:4 https://download.docker.com/linux/ubuntu noble InRelease ヒット:5 http://security.ubuntu.com/ubuntu noble-security InRelease ヒット:6 https://downloads.1password.com/linux/debian/amd64 stable InRelease ヒット:7 http://archive.ubuntu.com/ubuntu noble InRelease ヒット:8 http://archive.ubuntu.com/ubuntu noble-updates InRelease ヒット:9 http://archive.ubuntu.com/ubuntu noble-backports InRelease パッケージリストを読み込んでいます... 完了 依存関係ツリーを作成しています... 完了 状態情報を読み取っています... 完了 パッケージはすべて最新です。