我需要在 Rackspace 服务器上更新 PHP,目前该服务器使用 PHP 2.6,我遵循了这些指示,我在 /etc/apt/sources.list 中添加了以下行
德布http://php53.dotdeb.org全部稳定
deb-源文件http://php53.dotdeb.org全部稳定
问题出在第三步,我得到了这个:
Ign http://http.us.debian.org lenny Release.gpg
Ign http://http.us.debian.org lenny Release
Ign http://http.us.debian.org lenny/main Packages/DiffIndex
Ign http://http.us.debian.org lenny/contrib Packages/DiffIndex
Ign http://http.us.debian.org lenny/non-free Packages/DiffIndex
Ign http://http.us.debian.org lenny/main Sources/DiffIndex
Ign http://http.us.debian.org lenny/contrib Sources/DiffIndex
Ign http://http.us.debian.org lenny/non-free Sources/DiffIndex
Ign http://http.us.debian.org lenny/main Packages
Ign http://http.us.debian.org lenny/contrib Packages
Ign http://http.us.debian.org lenny/non-free Packages
Ign http://http.us.debian.org lenny/main Sources
Ign http://http.us.debian.org lenny/contrib Sources
Ign http://http.us.debian.org lenny/non-free Sources
Err http://http.us.debian.org lenny/main Packages
404 Not Found [IP: 64.50.236.52 80]
Err http://http.us.debian.org lenny/contrib Packages
404 Not Found [IP: 64.50.236.52 80]
Err http://http.us.debian.org lenny/non-free Packages
404 Not Found [IP: 64.50.236.52 80]
Err http://http.us.debian.org lenny/main Sources
404 Not Found [IP: 64.50.236.52 80]
Err http://http.us.debian.org lenny/contrib Sources
404 Not Found [IP: 64.50.236.52 80]
Err http://http.us.debian.org lenny/non-free Sources
404 Not Found [IP: 64.50.236.52 80]
Ign http://php53.dotdeb.org oldstable Release.gpg
Ign http://security.debian.org lenny/updates Release.gpg
Ign http://php53.dotdeb.org oldstable Release
Ign http://security.debian.org lenny/updates Release
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://php53.dotdeb.org oldstable/all Packages
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex
Ign http://security.debian.org lenny/updates/main Packages
Ign http://php53.dotdeb.org oldstable/all Sources
Ign http://security.debian.org lenny/updates/contrib Packages
Ign http://security.debian.org lenny/updates/main Sources
Ign http://security.debian.org lenny/updates/contrib Sources
Err http://php53.dotdeb.org oldstable/all Packages
404 Not Found
Err http://security.debian.org lenny/updates/main Packages
404 Not Found [IP: 149.20.20.6 80]
Err http://security.debian.org lenny/updates/contrib Packages
404 Not Found [IP: 149.20.20.6 80]
Err http://security.debian.org lenny/updates/main Sources
404 Not Found [IP: 149.20.20.6 80]
Err http://php53.dotdeb.org oldstable/all Sources
404 Not Found
Err http://security.debian.org lenny/updates/contrib Sources
404 Not Found [IP: 149.20.20.6 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/main/binary-amd64/Packages 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/contrib/binary-amd64/Packages 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/non-free/binary-amd64/Packages 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/main/source/Sources 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/contrib/source/Sources 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/non-free/source/Sources 404 Not Found [IP: 64.50.236.52 80]
W: Failed to fetch http://php53.dotdeb.org/dists/oldstable/all/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://security.debian.org/dists/lenny/updates/main/binary-amd64/Packages 404 Not Found [IP: 149.20.20.6 80]
W: Failed to fetch http://php53.dotdeb.org/dists/oldstable/all/source/Sources 404 Not Found
W: Failed to fetch http://security.debian.org/dists/lenny/updates/contrib/binary-amd64/Packages 404 Not Found [IP: 149.20.20.6 80]
W: Failed to fetch http://security.debian.org/dists/lenny/updates/main/source/Sources 404 Not Found [IP: 149.20.20.6 80]
W: Failed to fetch http://security.debian.org/dists/lenny/updates/contrib/source/Sources 404 Not Found [IP: 149.20.20.6 80]
E: Some index files failed to download, they have been ignored, or old ones used instead.
root@BOPS:~# apt-get update
Ign http://http.us.debian.org lenny Release.gpg
Ign http://http.us.debian.org lenny Release
Ign http://http.us.debian.org lenny/main Packages/DiffIndex
Ign http://http.us.debian.org lenny/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates Release.gpg
Ign http://http.us.debian.org lenny/non-free Packages/DiffIndex
Ign http://http.us.debian.org lenny/main Sources/DiffIndex
Ign http://http.us.debian.org lenny/contrib Sources/DiffIndex
Ign http://http.us.debian.org lenny/non-free Sources/DiffIndex
Ign http://security.debian.org lenny/updates Release
Ign http://php53.dotdeb.org oldstable Release.gpg
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://http.us.debian.org lenny/main Packages
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex
Ign http://security.debian.org lenny/updates/main Packages
Ign http://http.us.debian.org lenny/contrib Packages
Ign http://http.us.debian.org lenny/non-free Packages
Ign http://http.us.debian.org lenny/main Sources
Ign http://http.us.debian.org lenny/contrib Sources
Ign http://security.debian.org lenny/updates/contrib Packages
Ign http://security.debian.org lenny/updates/main Sources
Ign http://security.debian.org lenny/updates/contrib Sources
Ign http://http.us.debian.org lenny/non-free Sources
Err http://security.debian.org lenny/updates/main Packages
404 Not Found [IP: 128.101.240.212 80]
Err http://security.debian.org lenny/updates/contrib Packages
404 Not Found [IP: 128.101.240.212 80]
Err http://security.debian.org lenny/updates/main Sources
404 Not Found [IP: 128.101.240.212 80]
Err http://http.us.debian.org lenny/main Packages
404 Not Found [IP: 64.50.233.100 80]
Err http://http.us.debian.org lenny/contrib Packages
404 Not Found [IP: 64.50.233.100 80]
Err http://http.us.debian.org lenny/non-free Packages
404 Not Found [IP: 64.50.233.100 80]
Err http://http.us.debian.org lenny/main Sources
404 Not Found [IP: 64.50.233.100 80]
Ign http://php53.dotdeb.org oldstable Release
Err http://security.debian.org lenny/updates/contrib Sources
404 Not Found [IP: 128.101.240.212 80]
Err http://http.us.debian.org lenny/contrib Sources
404 Not Found [IP: 64.50.233.100 80]
Err http://http.us.debian.org lenny/non-free Sources
404 Not Found [IP: 64.50.233.100 80]
Ign http://php53.dotdeb.org oldstable/all Packages
Ign http://php53.dotdeb.org oldstable/all Sources
Err http://php53.dotdeb.org oldstable/all Packages
404 Not Found
Err http://php53.dotdeb.org oldstable/all Sources
404 Not Found
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/main/binary-amd64/Packages 404 Not Found [IP: 64.50.233.100 80]
W: Failed to fetch http://security.debian.org/dists/lenny/updates/main/binary-amd64/Packages 404 Not Found [IP: 128.101.240.212 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/contrib/binary-amd64/Packages 404 Not Found [IP: 64.50.233.100 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/non-free/binary-amd64/Packages 404 Not Found [IP: 64.50.233.100 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/main/source/Sources 404 Not Found [IP: 64.50.233.100 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/contrib/source/Sources 404 Not Found [IP: 64.50.233.100 80]
W: Failed to fetch http://security.debian.org/dists/lenny/updates/contrib/binary-amd64/Packages 404 Not Found [IP: 128.101.240.212 80]
W: Failed to fetch http://security.debian.org/dists/lenny/updates/main/source/Sources 404 Not Found [IP: 128.101.240.212 80]
W: Failed to fetch http://security.debian.org/dists/lenny/updates/contrib/source/Sources 404 Not Found [IP: 128.101.240.212 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/lenny/non-free/source/Sources 404 Not Found [IP: 64.50.233.100 80]
W: Failed to fetch http://php53.dotdeb.org/dists/oldstable/all/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://php53.dotdeb.org/dists/oldstable/all/source/Sources 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
答案1
您的服务器正在运行 Debian Linux 版本(“lenny”、Debian 5.0),该版本自 2012 年 2 月起已不再受支持。请先将服务器升级到受支持的 Debian 版本(例如,Debian 6.0、“squeeze”)。