0
私はUbuntu 16.04を使用しています。私は指示に従いましたUninstalling the Heroku CLI。Heroku CLIをアンインストールすると、Ubuntuで壊れた
sudo apt-get remove heroku
sudo apt-key del <Heroku's key from 'apt-key list'>
heroku-toolbelt
パッケージが見つかりませんでしたので、このパッケージをアンインストールしませんでした。 /etc/apt/sources.list.d/heroku.list
も存在しません。
次回以降に問題が発生するsudo apt update
およびsudo apt dist-upgrade
です。私はapt-key del
推測
Err:7 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C927EBE00F1B0520
...
...
...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://cli-assets.heroku.com/branches/stable/apt ./ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C927EBE00F1B0520
W: Failed to fetch https://cli-assets.heroku.com/branches/stable/apt/./InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C927EBE00F1B0520
W: Some index files failed to download. They have been ignored, or old ones used instead.
にaptを破ったが、私はもはやそれを必要としないので、完全に(キーを含む)Herokuの-CLIをアンインストールしたかったです。
sudo add-apt-repository -r "deb https://cli-assets.heroku.com/branches/stable/apt ./"
を実行