2017-06-30 10 views
0

私はUbuntu 16.04を使用しています。私は指示に従いましたUninstalling the Heroku CLIHeroku 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 ./" 

を実行

答えて

0

は、問題を解決しました。

関連する問題