Ubuntu 安裝時出現 The repository 'http://ppa.... focal Release' does not have a Release file

安裝sudo apt-add-repository ppa:graphics-drivers/ppa的時候,會出現The repository 'http://ppa.launchpad.net/fcitx-team/nightly/ubuntu focal Release' does not have a Release file

而且安裝不成功後,之後執行sudo apt-get update也會出現錯誤

解決方案:

在 etc/apt/sources.list.d 底下刪除相對應的檔案,以我這個例子來看就是刪除

到目錄下後下指令

sudo rm graphics-drivers-ubuntu-ppa-focal.list

sudo rm graphics-drivers-ubuntu-ppa-focal.list.save

之後再從新安裝
sudo apt-add-repository ppa:graphics-drivers/ppa

就成功了。


參考 reference:

https://blog.csdn.net/we1583004we/article/details/79106855

留言

熱門文章