Tôi cần cập nhật PHP trên máy chủ rackspace, hiện tại máy chủ sử dụng PHP 2.6, tôi đã làm theo các hướng dẫn này , tôi đã thêm vào các dòng vào /etc/apt/source.list
deb http://php53.dotdeb.org ổn định tất cả
deb-src http://php53.dotdeb.org ổn định tất cả
vấn đề là ở bước thứ 3, tôi đang nhận được điều này:
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.
php 2.6 ?? Chỉ cần lưu nó cho các mục đích lịch sử. Thực sự khi nó được cài đặt? Có thể đây là ví dụ thực tế duy nhất của php 2.6 trong thế giới thực. Nếu để tách rời trò đùa, tôi thà xóa nó và cài đặt 5.3 từ số không. Tôi rất nghi ngờ rằng nó hỗ trợ phiên bản nhảy như vậy.
—
Salvador Dali
/lenny
không tồn tại trên máy chủ đó, vì vậy tôi sẽ cho rằng đó là vấn đề của bạn. Bên cạnh đó, theo như tôi có thể nói, câu hỏi này phù hợp hơn với người dùng Super.