Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
卸载Heroku CLI破坏了Ubuntu中的apt_Ubuntu_Heroku_Apt - Fatal编程技术网

卸载Heroku CLI破坏了Ubuntu中的apt

卸载Heroku CLI破坏了Ubuntu中的apt,ubuntu,heroku,apt,Ubuntu,Heroku,Apt,我使用的是Ubuntu 16.04,我已经按照说明进行了操作 我猜apt key del破坏了apt,但我想完全卸载Heroku CLI(包括密钥),因为我不再需要它。正在运行 sudo add-apt-repository -r "deb https://cli-assets.heroku.com/branches/stable/apt ./" 解决了这个问题 Err:7 https://cli-assets.heroku.com/branches/stable/apt ./ InRelea

我使用的是Ubuntu 16.04,我已经按照说明进行了操作

我猜apt key del破坏了apt,但我想完全卸载Heroku CLI(包括密钥),因为我不再需要它。

正在运行

sudo add-apt-repository -r "deb https://cli-assets.heroku.com/branches/stable/apt ./"
解决了这个问题

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.
sudo add-apt-repository -r "deb https://cli-assets.heroku.com/branches/stable/apt ./"