
我最近以 apt 方式將我的 Linux Mint 從 14 升級到 15,從那時起我的 vagrant box 就無法完全啟動。網路介面或/vagrant
資料夾未進行設定。
ERROR warden: Error occurred: Agent pid 1034
/usr/lib/ruby/vendor_ruby/net/scp.rb:385:in `await_response_state': Agent pid 1034 (RuntimeError)
from /usr/lib/ruby/vendor_ruby/net/scp.rb:356:in `block (3 levels) in start_command'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/channel.rb:311:in `call'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/channel.rb:311:in `process'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:214:in `block in preprocess'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:214:in `each'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:214:in `preprocess'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:197:in `process'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:161:in `block in loop'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:161:in `loop'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/session.rb:161:in `loop'
from /usr/lib/ruby/vendor_ruby/net/ssh/connection/channel.rb:269:in `wait'
from /usr/lib/ruby/vendor_ruby/net/scp.rb:279:in `upload!'
from /usr/lib/ruby/vendor_ruby/vagrant/communication/ssh.rb:81:in `block in upload'
from /usr/lib/ruby/vendor_ruby/vagrant/communication/ssh.rb:110:in `connect'
from /usr/lib/ruby/vendor_ruby/vagrant/communication/ssh.rb:79:in `upload'
from /usr/lib/ruby/vendor_ruby/vagrant/guest/debian.rb:38:in `configure_networks'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/network.rb:72:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/clear_network_interfaces.rb:26:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/host_name.rb:10:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
from /usr/lib/ruby/vendor_ruby/vagrant/action/vm/share_folders.rb:20:in `call'
這是我在設定網路時看到的錯誤,如果停用網絡,我會在/vagrant
資料夾設定階段收到類似的錯誤。
我嘗試過purge
流浪並重新安裝,甚至在中間也這樣做過autoremove
。沒有任何幫助。我還沒有嘗試過清除 Virtualbox。
編輯:在嘗試啟動一個新的流浪盒時得到這個,這是否相關?
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.2.0
VirtualBox Version: 4.2.10