我已成功將我的 AWS EC2 實例升級到 Ubuntu16.04 并想從 ondrej/php 安裝 php7.2問題是,過去 2 個小時我一直在嘗試此操作,但無濟于事。我已經運行了 apt-get update,每次我這樣做時,它都無法連接到 ppa.launchpad.net (91.189.95.83)。它會超時,我無法獲得http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease# apt-get updateHit:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial InReleaseHit:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Err:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed outFetched 109 kB in 2min 0s (909 B/s) Reading package lists... DoneW: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/xenial/InRelease Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed outW: Some index files failed to download. They have been ignored, or old ones used instead.我試過 wget -O /dev/null http://ppa.launchpad.net/ondrej/php/ubuntu/dists/xenial/InRelease它可以下載它。我試過 ping 91.189.95.83 并且它有效。我只是無法執行 apt-get update 和隨后的 apt-get install php7.2有沒有人遇到過這個問題并設法解決了它?
- 2 回答
- 0 關注
- 607 瀏覽
添加回答
舉報
0/150
提交
取消