Skip to content

Instantly share code, notes, and snippets.

@yukihane
Last active September 6, 2022 21:16
Show Gist options
  • Save yukihane/91bf7e2386c586e78c450d2308c112d6 to your computer and use it in GitHub Desktop.
Save yukihane/91bf7e2386c586e78c450d2308c112d6 to your computer and use it in GitHub Desktop.

事象説明

Ubuntu 22.04.1 へのアップグレード sudo do-release-upgrade 中に発生したエラーのメモ。

アップデート中に問題が発生しました。通常、これはネットワークにおける何らかの問題です。ネットワーク接続が可能であることをチェックし、あらためて試してください。

W:このようなリポジトリから更新を安全に行うことができないので、デフォルトでは更新が無効になっています。,
W:リポジトリの作成とユーザ設定の詳細は、apt-secure(8) man ページを参照してください。, W:GPG エラー:
https://cli.github.com/packages stable InRelease:
公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 23F3D4EA75716059, E:リポジトリ
https://cli.github.com/packages stable InRelease は署名されていません。

英語では:

Err https://cli.github.com/packages stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059
Hit http://security.ubuntu.com/ubuntu jammy-security InRelease
Fetched 0 B in 0s (0 B/s)

Error during update

A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.

試したこと

/etc/apt/sources.list.d/github-cli.list* を削除。

sudo rm /etc/apt/sources.list.d/github-cli.list*
@yukihane
Copy link
Author

yukihane commented Sep 6, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment