ubuntu-tweak 問題阻止在 ubuntu 18.04 上進行更新

ubuntu-tweak 問題阻止在 ubuntu 18.04 上進行更新

請耐心等待,我才使用 Ubuntu 一個月。到目前為止我很喜歡它,但遇到了一個我似乎無法找到解決方案的問題。我一直在嘗試在我的系統上安裝 Anaconda,但無法更新,並且錯誤指向 ubuntu-tweak 工具和仿生版本。

Err:9 http://ppa.launchpad.net/trebelnik-stefina/ubuntu-tweak/ubuntu bionic Release
  404  Not Found [IP: 91.189.95.83 80]
Err:10 http://ppa.launchpad.net/tualatrix/next/ubuntu bionic Release
  404  Not Found [IP: 91.189.95.83 80]

E: The repository 'http://ppa.launchpad.net/trebelnik-stefina/ubuntu-tweak/ubuntu bionic Release' does not have a Release file.
E: The repository 'http://ppa.launchpad.net/tualatrix/next/ubuntu bionic Release' does not have a Release file.

我已經安裝了tweak並嘗試清除ubuntu-tweak,但它說我無法找到它。

我的問題是我怎麼樣才能

A.刪除Tweak更新系統?

B. 更新系統而不刪除Tweak?

答案1

gnome-tweak-tool 應該已經在原始碼中了。根據ubuntu 調整工具的啟動板站點它不再被維護。您只需刪除原始程式碼就可以了 - 卸載並不是真正必要的,但您可以嘗試 gnome-tweak-tool。

刪除來源

手動

原始程式碼要么/etc/apt/sources.list.d/作為單獨的文件位於您的文件中,您可以將其刪除,要么直接寫入其中/etc/apt/sources.list,您必須刪除相關行 - 但這不太可能。

透過apt-add-repository

apt-add-repository -r也可以根據您的情況使用以下命令來刪除 ppa :

sudo apt-add-repository -r ppa:trebelnik-stefina/ubuntu-tweak
sudo apt-add-repository -r ppa:tualatrix/next

透過圖形使用者介面

從 Ubuntu 設定中的「軟體來源」部分停用或移除 PPA。


不安全的來源

完整的故事似乎是,從沒有發布文件的來源進行更新無法安全地完成,因此預設會被停用。看看askubuntu 上的這個帖子更多細節。

允許不安全的儲存庫

根據手冊頁,您可以透過新增至來源清單檔案中的相關行或分別新增或來apt-secure允許不安全的來源。[ insecure=yes ]Acquire::AllowInsecureRepositoriesapt.confapt.conf.d

相關內容