Erro ao instalar o ruby-rvm

1

Quando eu tento instalar o ruby-rvm, eu entendo isso ...

$ sudo apt-get install ruby-rvm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ruby-rvm : Depends: libreadline-gplv2-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Tudo bem, tudo bem, então vou instalar o libreadline-gplv2-dev.

$ sudo apt-get install libreadline-gplv2-dev 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libsdl-ttf2.0-0 libdb5.1-java-gcj libdb-je-java gcj-4.6-jre-lib libecj-java ttf-dejavu-extra eclipse-platform-data ruby1.9.1-examples gcj-4.6-base
  libxerces2-java libswt-gtk-3-jni libgcj-bc libjtidy-java gstreamer0.10-fluendo-mp3:i386 libicu4j-java libservlet2.4-java libswt-cairo-gtk-3-jni
  libcommons-beanutils-java junit libdb-java ruby1.9.1-dev libcommons-cli-java libtcltk-ruby1.9.1 libcommons-logging-java libcommons-compress-java libgcj12
  libswt-gtk-3-java libdb5.1-java libicu4j-4.4-java libswt-gnome-gtk-3-jni libyaml-0-2 icedtea-netx-common libjsch-java libruby1.9.1-dbg jarwrapper
  libxml-commons-resolver1.1-java libhal1 ri1.9.1 libapache-pom-java libxt-dev libxml-commons-external-java tzdata-java libcommons-el-java
  libservlet2.5-java libcommons-httpclient-java libslf4j-java libasm3-java libregexp-java fastjar libjasper-java libruby1.9.1 libcommons-codec-java
  libcommons-lang-java libhamcrest-java liblucene2-java liboil0.3:i386 libequinox-osgi-java libcommons-parent-java libcommons-collections3-java
  ruby1.9.1-full libgcj-common libcommons-digester-java libjetty-java libjline-java ruby1.9.1 libswt-webkit-gtk-3-jni libswt-glx-gtk-3-jni
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libreadline5
The following packages will be REMOVED:
  libreadline-dev libreadline6-dev r-base-dev
The following NEW packages will be installed:
  libreadline-gplv2-dev libreadline5
0 upgraded, 2 newly installed, 3 to remove and 0 not upgraded.
Need to get 375 kB of archives.
After this operation, 258 kB of additional disk space will be used.
Do you want to continue [Y/n]? 

Isso parece ruim. Isso vai interferir com a minha instalação do java e remover r-base-dev? O que há com isso?

    
por Mittenchops 19.06.2012 / 01:20

2 respostas

2

Você não deve usar o pacote ruby-rvm está desatualizado e contém a versão antiga (e com bugs) do RVM, você pode ler sobre isso aqui: link

Eu planejo lançar o pacote mainatained para o RVM 2.x, mas no pacote que você tenta instalar está fora do meu controle e não tenho nenhuma possibilidade (e tempo) para consertá-lo.

    
por mpapis 20.06.2012 / 03:52
-1

É melhor usar o rbenv , ele segue as convenções do UNIX facilitando a integração com outras ferramentas do UNIX.

    
por Nebojsa 27.06.2012 / 08:32