Eu acho que você quer instalar o mais recente Vagrant .deb do site deles. Transicionou para longe de ser uma jóia de Ruby.
Eu tentei instalar o software, que está no centro de software e novo software como caixa virtual, mas está mostrando o erro:
Items cannot be installed or removed until the package catalog is
repaired, do you want to repair it?
Quando clico no ícone de reparo, ele mostra:
Package operation failed, installation or removal of a software
package failed
installArchives() failed: perl: warning: Setting locale failed. perl:
warning: Please check that your locale settings: LANGUAGE = (unset),
LC_ALL = (unset), LANG = "en_IN.ISO8859-1"
are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to
default locale: No such file or directory locale: Cannot set
LC_MESSAGES to default locale: No such file or directory locale:
Cannot set LC_ALL to default locale: No such file or directory perl:
warning: Setting locale failed. perl: warning: Please check that your
locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG =
"en_IN.ISO8859-1"
are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to
default locale: No such file or directory locale: Cannot set
LC_MESSAGES to default locale: No such file or directory locale:
Cannot set LC_ALL to default locale: No such file or directory perl:
warning: Setting locale failed. perl: warning: Please check that your
locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG =
"en_IN.ISO8859-1"
are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to
default locale: No such file or directory locale: Cannot set
LC_MESSAGES to default locale: No such file or directory locale:
Cannot set LC_ALL to default locale: No such file or directory perl:
warning: Setting locale failed. perl: warning: Please check that your
locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG =
"en_IN.ISO8859-1"
are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to
default locale: No such file or directory locale: Cannot set
LC_MESSAGES to default locale: No such file or directory locale:
Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... (Reading database ... 5% (Reading database ...
10% (Reading database ... 15% (Reading database ... 20% (Reading
database ... 25% (Reading database ... 30% (Reading database ... 35%
(Reading database ... 40% (Reading database ... 45% (Reading database
... 50% (Reading database ... 55% (Reading database ... 60% (Reading
database ... 65% (Reading database ... 70% (Reading database ... 75%
(Reading database ... 80% (Reading database ... 85% (Reading database
... 90% (Reading database ... 95% (Reading database ... 100% (Reading
database ... 195378 files and directories currently installed.)
Unpacking ruby-json-pure (from
.../ruby-json-pure_1.5.1-0ubuntu3_all.deb) ... dpkg: error processing
/var/cache/apt/archives/ruby-json-pure_1.5.1-0ubuntu3_all.deb
(--unpack): trying to overwrite '/usr/lib/ruby/vendor_ruby/json.rb',
which is also in package ruby-json 1.6.3-1 No apport report written
because MaxReports is reached already Errors were encountered while
processing:
/var/cache/apt/archives/ruby-json-pure_1.5.1-0ubuntu3_all.deb Error in
function: dpkg: dependency problems prevent configuration of
ruby-vmc: ruby-vmc depends on ruby-json-pure (>= 1.5.1); however:
Package ruby-json-pure is not installed. dpkg: error processing
ruby-vmc (--configure): dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of
cloudfoundry-client: cloudfoundry-client depends on ruby-vmc (=
0.3.10-0ubuntu10); however: Package ruby-vmc is not configured yet. dpkg: error processing cloudfoundry-client (--configure): dependency
problems - leaving unconfigured
Como consertar esse problema?
Eu acho que você quer instalar o mais recente Vagrant .deb do site deles. Transicionou para longe de ser uma jóia de Ruby.
O problema aqui é que uma das dependências do Vagrant requer que o pacote ruby-json-pure
seja instalado. No entanto, isso está em conflito com o pacote ruby-json
que já está instalado. Você pode tentar remover o pacote ruby-json
, mas isso pode exigir que você remova o que foi instalado em primeiro lugar.
Eu não acho que haja uma solução fácil para isso; parece que foi reportado como um bug e está corrigido em Quantal e acima: link