อัปเดตเป็น PHP 5.3 บน Debian 5.0 (lenny)


1

ฉันต้องการอัปเดต PHP บนเซิร์ฟเวอร์ rackspace ปัจจุบันเซิร์ฟเวอร์ใช้ PHP 2.6 ฉันติดตามสิ่งเหล่านี้ คำแนะนำ ฉันเพิ่มลงในบรรทัดใน /etc/apt/sources.list

หญิงที่เข้าสังคมครั้งแรก http://php53.dotdeb.org เสถียรทั้งหมด

Deb-src http://php53.dotdeb.org เสถียรทั้งหมด

ปัญหาอยู่ในขั้นตอนที่ 3 ฉันได้รับ:

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
ดี, /lenny ไม่มีอยู่ในเซิร์ฟเวอร์นั้นดังนั้นฉันจึงคิดว่าเป็นปัญหาของคุณ นอกเหนือจากนั้นเท่าที่ฉันสามารถบอกได้คำถามนี้เหมาะสำหรับผู้ใช้ระดับสูง
Daedalus

1
PHP 2.6 ?? เพียงบันทึกไว้เพื่อวัตถุประสงค์ทางประวัติศาสตร์ จริงๆแล้วมันถูกติดตั้งเมื่อไหร่? อาจเป็นเช่นนี้เป็นตัวอย่างจริงของ php 2.6 ในโลกแห่งความเป็นจริง ถ้าจะแยกเรื่องตลกฉันอยากจะลบมันและติดตั้ง 5.3 จากศูนย์ ฉันสงสัยอย่างมากว่ามันรองรับการกระโดดข้ามเวอร์ชันดังกล่าว
Salvador Dali

คำตอบ:


1

เซิร์ฟเวอร์ของคุณใช้งาน Debian Linux ("lenny", Debian 5.0) ซึ่งไม่รองรับตั้งแต่กุมภาพันธ์ 2555 อัปเกรดเซิร์ฟเวอร์เป็น Debian รุ่นที่รองรับ (เช่น Debian 6.0, "squeeze") ก่อน


ฉันต้องอัปเดตเป็น 6.0 และตอนนี้ทุกอย่างใช้ได้ดีขอบคุณ
Rommel Castro
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.