天天看點

解決方案-sudo apt-get update 出錯

sudo apt-get update錯誤資訊如下:

解決方案-sudo apt-get update 出錯

使用如下指令修複:

sudo apt-get update --allow-releaseinfo-change
           

如果使用上述指令出現如下資訊:

解決方案-sudo apt-get update 出錯

解決方案如下:

  1. remove the PPA
sudo add-apt-repository -r ppa:webupd8team/java
sudo apt-get update
           
  1. 重新添加PPA,在輸入第一行指令後,當出現提示“Press [ENTER] to continue or Ctrl-c to cancel adding it.”時,按ENTER繼續。
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
           

最終輸出結果如下:

解決方案-sudo apt-get update 出錯