2017-06-04 6 views
3

J'utilise la version 1.9.4 erranteErreur lors de l'installation Plugins Vagrant Manjaro Deepin

Lorsque vous essayez d'installer un plug-in errante l'une des deux sorties SORT

Je lance cette commande:

vagrant plugin install vagrant-hostmanager 

Ensuite, cela vient à un moment:

Installing the 'vagrant-managed-servers' plugin. This can take a few minutes... 
/opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/source.rb:192:in `load': Marshal.load reentered at marshal_load (RuntimeError) 
    from /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/source.rb:192:in `load_specs' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/bundler.rb:335:in `block in validate_configured_sources!' 
    from /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/source_list.rb:97:in `each' 
    from /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/source_list.rb:97:in `each_source' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/bundler.rb:333:in `validate_configured_sources!' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/bundler.rb:268:in `internal_install' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/bundler.rb:106:in `install' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/plugin/manager.rb:62:in `block in install_plugin' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/plugin/manager.rb:72:in `call' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/plugin/manager.rb:72:in `install_plugin' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/commands/plugin/action/install_gem.rb:29:in `call' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:34:in `call' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/builder.rb:116:in `call' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/runner.rb:66:in `block in run' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/util/busy.rb:19:in `busy' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/runner.rb:66:in `run' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/commands/plugin/command/base.rb:14:in `action' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/commands/plugin/command/install.rb:32:in `block in execute' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/commands/plugin/command/install.rb:31:in `each' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/commands/plugin/command/install.rb:31:in `execute' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/commands/plugin/command/root.rb:66:in `execute' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/cli.rb:42:in `execute' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/environment.rb:308:in `cli' 
    from /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/bin/vagrant:127:in `<main>' 

Et dans un autre temps ce qui sort:

/opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/source.rb:192: [BUG] 

Segmentation fault at 0x00000000000010 
ruby 2.2.5p319 (2016-04-26 revision 54774) [x86_64-linux] 

-- Control frame information ----------------------------------------------- 
c:0026 p:---- s:0148 e:000147 CFUNC :load 
c:0025 p:0163 s:0144 e:000142 METHOD /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/source.rb:192 
c:0024 p:0012 s:0131 e:000130 BLOCK /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/bundler.rb:335 [FINISH] 
c:0023 p:---- s:0127 e:000126 CFUNC :each 
c:0022 p:0011 s:0124 e:00METHOD /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/source_list.rb:97 
c:0021 p:0015 s:0120 E:001b60 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/bundler.rb:333 
c:0020 p:0168 s:0117 e:000116 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/bundler.rb:268 
c:0019 p:0016 s:0102 e:000101 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/bundler.rb:106 
c:0018 p:0021 s:0097 e:000096 LAMBDA /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/plugin/manager.rb:62 [FINISH] 
c:0017 p:---- s:0095 e:000094 CFUNC :call 
c:0016 p:0160 s:0092 E:001c70 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/plugin/manager.rb:72 
c:0015 p:0134 s:0081 e:000080 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/commands/plugin/action/install_gem.rb:29 
c:0014 p:0081 s:0069 e:000068 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/warden.rb:34 
c:0013 p:0013 s:0063 e:000062 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/builder.rb:116 
c:0012 p:0010 s:0059 e:000058 BLOCK /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/runner.rb:66 
c:0011 p:0014 s:0057 e:000056 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/util/busy.rb:19 
c:0010 p:0292 s:0053 E:000598 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/action/runner.rb:66 
c:0009 p:0018 s:0043 e:000042 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/commands/plugin/command/base.rb:14 
c:0008 p:0042 s:0038 e:000037 BLOCK /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/commands/plugin/command/install.rb:32 [FINISH] 
c:0007 p:---- s:0035 e:000034 CFUNC :each 
c:0006 p:0086 s:0032 E:0021d8 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/commands/plugin/command/install.rb:31 
c:0005 p:0111 s:0026 e:000025 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/plugins/commands/plugin/command/root.rb:66 
c:0004 p:0158 s:0022 e:000021 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/cli.rb:42 
c:0003 p:0020 s:0016 e:000015 METHOD /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/lib/vagrant/environment.rb:308 
c:0002 p:0680 s:0012 E:0005a0 EVAL /opt/vagrant/embedded/gems/gems/vagrant-1.9.4/bin/vagrant:127 [FINISH] 
c:0001 p:0000 s:0002 E:000ad0 TOP [FINISH] 

I Installée errante en utilisant la commande « yaourt » normale et a essayé de supprimer complètement et réinstaller à nouveau par « pacman » mais, ayant toujours le même problème.

et bien sûr j'ai supprimé le dossier ".vagrant.d" dans le processus de suppression.

Version du noyau: 4.9.30-1-Manjaro

Manjaro Version: 17.0.1

Ruby Version: Ruby 2.4.1p111 (22/03/2017 révision 58053)

Si est pas moyen de résoudre ce problème maintenant. Est-il possible de télécharger les plugins de github et de les installer manuellement dans vagabond?

S'il vous plaît aidez-moi parce que je ne peux pas installer de plugin vagabond. Merci

+0

Cela devrait être une erreur entre les versions d'OS, rubis et errante ne pas être compatibles les uns avec les autres. Pouvez-vous nous donner les spécifications de Manjaro? (version du noyau, version manjaro) –

+0

Comment avez-vous installé vagabond? –

+0

J'ai édité et mis les informations que vous avez demandées merci pour vos réponses – ElGenius

Répondre

2

J'ai résolu le même problème et trouvé la solution sur serverfault.

Vous devez rétrograder le package vagrant-substrate. J'ai utilisé le paquet AUR downgrader qui m'offre tous les paquets de vagabonds-substrats dans les archives. J'ai choisi la version 599.d7cedfe-2 (selon le lien) et maintenant cela fonctionne comme charme. :]

+1

Merci beaucoup qui a fonctionné pour moi. – ElGenius

0

Je déclassé le paquet avec les éléments suivants:

$ wget https://archive.archlinux.org/packages/v/vagrant-substrate/vagrant-substrate-599.d7cedfe-2-x86_64.pkg.tar.xz 
$ sudo pacman -U vagrant-substrate-599.d7cedfe-2-x86_64.pkg.tar.xz