無法將 Ubuntu 13.04 升級到 13.10(W:無法取得 http://.../ubuntu/dists/natty-backports/...)

無法將 Ubuntu 13.04 升級到 13.10(W:無法取得 http://.../ubuntu/dists/natty-backports/...)

我無法將 ubuntu 從 13.04 升級到 13.10

當我嘗試升級時出現此錯誤:

W: GPG error: http://download.opensuse.org  Release: The following signatures were invalid: KEYEXPIRED 1386276565
W: Failed to fetch http://th.archive.ubuntu.com/ubuntu/dists/natty-backports/main/source/Sources  404  Not Found

W: Failed to fetch http://th.archive.ubuntu.com/ubuntu/dists/natty-backports/restricted/source/Sources  404  Not Found

W: Failed to fetch http://th.archive.ubuntu.com/ubuntu/dists/natty-backports/universe/source/Sources  404  Not Found

W: Failed to fetch http://th.archive.ubuntu.com/ubuntu/dists/natty-backports/multiverse/source/Sources  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

我已經嘗試過什麼?

  1. 在 Ubuntu 軟體中心 > 軟體來源上取消選取諸如 ..from CD-ROM.. 之類的內容。
  2. 嘗試使用此命令“sudo rm -rf /var/lib/apt/lists/*”
  3. 嘗試更換下載伺服器

我要怎麼解決這個問題?

答案1

在某些時候,您為natty-backports您在錯誤中看到的儲存庫添加了一個合適的來源。由於某種原因,該存儲庫不再可用。

找到這個;它將是 中的一行/etc/apt/sources.list或 中的一個文件/etc/apt/sources.list.d。然後刪除該行或該文件,儲存並重試。

相關內容