问题描述
这可能是是否已插入?"的一种问题,但在获取Ubuntu 11.04的默认Rackspace映像后.运行命令(以root用户身份)
This is probably a type of "is it plugged in?" question, but after getting a default Rackspace image of Ubuntu 11.04 up. Running command (as root)
apt-get install rake
错误失败
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rake
我确定我缺少一些简单的东西.
I'm missing something simple I'm sure.
推荐答案
看来rake
软件包不在11.04源码中,但在10.10源码中.
It appears that rake
package is not in the 11.04 sources, but it is in 10.10 sources.
要使apt-get install rake
在11.04上工作:
To get apt-get install rake
to work on 11.04:
将以下行添加到/etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ maverick main restricted universe
deb-src http://archive.ubuntu.com/ubuntu/ maverick main restricted universe
更新包裹清单
apt-get update
现在rake
应该可用:
apt-get install rake
这篇关于Ubuntu 11.04:`apt-get install rake`-> "E:无法找到包裹耙子"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!