安装rails3.0的问题

时间:2010-04-30 09:29:21

标签: ruby-on-rails installation rvm

尝试了链接 http://railscasts.com/episodes/200-rails-3-beta-and-rvm


gokul@gokul-laptop:~$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
gokul@gokul-laptop:~$ mkdir -p ~/.rvm/src/ && cd ~/.rvm/src && rm -rf ./rvm/ && git clone git://github.com/wayneeseguin/rvm.git && cd rvm && ./install

The program 'git' is currently not installed.  You can install it by typing:

sudo apt-get install git-core
git: command not found

gokul@gokul-laptop:~/.rvm/src$ sudo apt-get install git-core
[sudo] password for gokul: 
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

gokul@gokul-laptop:~/.rvm/src$ 

1 个答案:

答案 0 :(得分:1)

最后一条错误消息(E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?)表示还有一个其他进程锁定了aptitude。

在才能保持锁定状态之前,您无法安装任何新套餐 Synaptic有没有开始?如果是这样,你应该关闭它。你在同一时间安装任何其他包吗? 您应该等待其他安装停止,然后才能安装git。

相关问题