Grails 安装错误:Err http://ppa.launchpad.net saucy/main amd64 Packages 404 Not Found

Grails 安装错误:Err http://ppa.launchpad.net saucy/main amd64 Packages 404 Not Found

我曾尝试使用在以下位置找到的答案来安装 Grails安装 Grails 时出错 - 未满足依赖关系

sudo add-apt-repository ppa:groovy-dev/grails  
sudo apt-get update
sudo apt-get install grails-ppa

第一个命令没有错误地返回:

$ sudo add-apt-repository ppa:groovy-dev/grails
 Grails is an advanced and innovative open source web application platform that
 ...
 More info: https://launchpad.net/~groovy-dev/+archive/ubuntu/grails
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpt59mo9/secring.gpg' created
gpg: keyring `/tmp/tmpt59mo9/pubring.gpg' created
gpg: requesting key 02A9EC29 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpt59mo9/trustdb.gpg: trustdb created
gpg: key 02A9EC29: public key "Launchpad PPA for Groovy Developers" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

但更新命令失败:

$ sudo apt-get update
...
Err http://ppa.launchpad.net saucy/main amd64 Packages
  404  Not Found
Ign http://ppa.launchpad.net saucy/main Translation-en_US
Ign http://ppa.launchpad.net saucy/main Translation-en
W: Failed to fetch http://ppa.launchpad.net/groovy-dev/grails/ubuntu/dists/saucy/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

知道为什么 ppa 更新失败并出现 404 错误吗?

答案1

Ubuntu 13.10 不再受支持,因为它的使用寿命已到尽头。
您应该升级到 14.04 或使用 12.04(当前支持的 LTS 版本)以获取最新的(安全)升级。

您收到 404 错误是因为 ppa 不再维护,很可能是因为 13.10 的 eol。

相关内容