【问题标题】:problem installing rails3.0安装rails3.0的问题
【发布时间】:2010-04-30 09:29:21
【问题描述】:

试过链接 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$ 

有人吗?

【问题讨论】:

    标签: ruby-on-rails installation rvm


    【解决方案1】:

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

    在 aptitude 保持锁定状态之前,您无法安装任何新软件包。
    有 Synaptic 启动吗?如果是这样,您应该关闭它。您是否同时安装任何其他软件包?
    您应该等待其他安装停止才能安装 git。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-05-31
      • 2016-12-13
      • 1970-01-01
      • 2022-01-06
      • 2012-05-07
      • 2011-06-05
      • 2012-10-11
      • 2013-07-26
      相关资源
      最近更新 更多