apt-get updateを実行すると 私のubuntu17.10で次のエラーが表示されます:
E: Repository 'http://ppa.launchpad.net/ondrej/php/ubuntu artful InRelease' changed its 'Label' value from '*****
The main PPA for PHP (5.6, 7.0, 7.1) with many PECL extensions *****' to '*****
The main PPA for supported PHP versions with many PECL extensions *****'
N: This must be accepted explicitly before updates for this repository can be applied.
See apt-secure(8) manpage for details."
マニュアルページは実際には解決策を示していません。私の質問は、変更を明示的に受け入れるにはどうすればよいですか?
ベストアンサー
リポジトリを投稿すると便利ですが、そうは言っても、これを修正するには2つの方法があります。
まず、aptを使用します apt-getではなく 。 apt apt-getよりも優先されます 最近のUbuntuバージョンでインタラクティブに使用するため。およびapt 理論的には、これを修正する必要があります。
sudo apt update
sudo apt upgrade
2番目のオプションは、--allow-releaseinfo-changeを使用することです。
sudo apt-get update --allow-releaseinfo-change
これらのオプションで問題が解決しない場合は、リポジトリを投稿してください。混合リポジトリを使用していますか、それとも固定していますか。最後に、これはアップグレードですか?