我正在尝试使用bundler安装一个sqlite3 gem,并且得到了常见的Failed to build native gem extensions错误。我正在尝试安装必要的文件来修复这个问题,并使用apt-get install成功地安装了ruby-dev,但是当我运行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错误,并且使用--fix-missing运行该命令没有任何作用。
你知道下一步该怎么做吗?
发布于 2012-05-12 00:50:49
所以,事实证明我使用的是旧版本的Ubuntu (9.04),因为我不想升级,所以我需要指向旧的存储库。这个问题在superuser.com上的这个问题中得到了解决:https://superuser.com/questions/339537/where-can-i-get-theold-repositories-for-ubuntu-9-04-jaunty
https://stackoverflow.com/questions/10336060
复制相似问题