0

我正在尝试使用 bundler 安装 sqlite3 gem,但遇到了常见Failed to build native gem extensions错误。我正在尝试安装必要的文件来解决此问题并使用成功安装了 ruby​​-dev apt-get install,但是当我运行时出现apt-get install libsqlite3-dev此错误:

Err http://ec2-us-east-mirror.rightscale.com jaunty-updates/main libsqlite3-dev 3.6.10-1ubuntu0.2
404 Not Found [IP: 174.129.253.100 80]
Err http://ec2-us-east-mirror1.rightscale.com jaunty-updates/main libsqlite3-dev 3.6.10-1ubuntu0.2
404 Not Found
Err http://ec2-us-east-mirror2.rightscale.com jaunty-updates/main libsqlite3-dev 3.6.10-1ubuntu0.2
404 Not Found
Err http://ec2-us-east-mirror3.rightscale.com jaunty-updates/main libsqlite3-dev 3.6.10-1ubuntu0.2
404 Not Found
Failed to fetch http://ec2-us-east-mirror3.rightscale.com/ubuntu/pool/main/s/sqlite3/libsqlite3-dev_3.6.10-1ubuntu0.2_i386.deb      404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

我尝试运行 apt-get update 并再次遇到一堆404 not found错误,并且运行命令 with--fix-missing没有做任何事情。

知道下一步该怎么做吗?

4

1 回答 1

1

所以,原来我使用的是旧版本的 Ubuntu (9.04),因为我不想升级,我需要指向旧的存储库。这个问题在 superuser.com 上的这个问题中得到解决:https ://superuser.com/questions/339537/where-can-i-get-theold-repositories-for-ubuntu-9-04-jaunty

于 2012-05-11T16:50:48.620 回答