sudo apt-get update錯誤資訊如下:
使用如下指令修複:
sudo apt-get update --allow-releaseinfo-change
如果使用上述指令出現如下資訊:
解決方案如下:
- remove the PPA
sudo add-apt-repository -r ppa:webupd8team/java
sudo apt-get update
- 重新添加PPA,在輸入第一行指令後,當出現提示“Press [ENTER] to continue or Ctrl-c to cancel adding it.”時,按ENTER繼續。
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
最終輸出結果如下: