Ubuntu 13.10 中的 404 错误

Ubuntu 13.10 中的 404 错误

刚刚安装了 ubuntu 13.10 我在终端中执行了 apt-update 并播下这个

Err http://ppa.launchpad.net /ubuntu/saucy amd64 Packages                       
  404  Not Found
Err http://ppa.launchpad.net /ubuntu/main amd64 Packages                        
  404  Not Found
Err http://ppa.launchpad.net /ubuntu/saucy i386 Packages  
  404  Not Found
Err http://ppa.laun


W: Failed to fetch http://ppa.launchpad.net/ubuntu-wine/ppa/dists//ubuntu/saucy/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-wine/ppa/dists//ubuntu/main/binary-amd64/Packages  404  Not Found


W: Failed to fetch http://ppa.launchpad.net/ubuntu-wine/ppa/dists//ubuntu/saucy/binary-i386/Packages  404  Not Found


W: Failed to fetch http://ppa.launchpad.net/ubuntu-wine/ppa/dists//ubuntu/main/binary-i386/Packages  404  Not Found


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

我不明白为什么我会收到此错误 wine 的 ppa 显示 13.10 可用,而上面的我甚至不知道它是什么 ?? 有什么帮助可以解决此问题

grep -rn "ubuntu-wine" /etc/apt/sources*

/etc/apt/sources.list.d/ubuntu-wine-ppa_-saucy.list:1:deb http://ppa.launchpad.net/ubuntu-wine/ppa /ubuntu saucy main
/etc/apt/sources.list.d/ubuntu-wine-ppa_-saucy.list:2:# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa /ubuntu saucy main

答案1

存储库未正确添加到 APT 源。您是否手动编辑过文件sources.list?请不要这样做!

正如你所见,APT 现在尝试获取

http://ppa.launchpad.net/ubuntu-wine/ppa/dists//ubuntu/main/binary-i386/Packages 

而不是(正确):

http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/dists/saucy/main/binary-i386/Packages

add-apt-repository下次请使用该实用程序添加 PPA。我建议sources.list暂时从您的存储库中删除存储库,然后重新添加存储库:

sudo rm /etc/apt/sources.list.d/ubuntu-wine-ppa_-saucy.list
sudo add-apt-repository ppa:ubuntu-wine/ppa

然后运行

sudo apt-get update

再次,它应该使用有效的 URL。

相关内容