我尝试更新 Debian 6.5 并收到以下错误。
Err http://ppa.launchpad.net wheezy/main Sources
404 Not Found
Err http://ppa.launchpad.net wheezy/main amd64 Packages
404 Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-en_US
Ign http://ppa.launchpad.net wheezy/main Translation-en
Get:6 http://ftp.us.debian.org wheezy/main amd64 Packages [5,841 kB]
Get:7 http://ftp.us.debian.org wheezy/main Translation-en [3,846 kB]
Get:8 http://ftp.us.debian.org wheezy-updates/main Sources [14 B]
Hit http://ftp.us.debian.org wheezy-updates/main amd64 Packages/DiffIndex
Hit http://ftp.us.debian.org wheezy-updates/main Translation-en/DiffIndex
Fetched 15.9 MB in 19s (805 kB/s)
W: Failed to fetch http://ppa.launchpad.net/jfi/ppa/ubuntu/dists/wheezy/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/jfi/ppa/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
不过我查看了 /etc/apt/sources.list,这就是全部内容。
#
# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130504-14:43]/ wheezy main
# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130504-14:43]/ wheezy main
deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main
更新可能使用了错误的文件吗?
答案1
不,不是。您可以在两个地方添加存储库。以及以目录/etc/apt/sources.list
结尾的任何文件(如果您在文件中添加条目,则可以添加更多条目,但之前的条目是默认值)。因此,只需检查目录中的文件并删除不需要的文件即可。.list
/etc/apt/sources.list.d/
apt.conf
另一方面,LaunchPad 不构建 Debian 软件包,因此我不建议使用任何 LaunchPad PPA 中的软件包。