流浪错误

时间:2016-01-27 17:42:18

标签: ubuntu vagrant virtualbox

我执行了vagrant up,但它失败了,这就是错误:

  

以下SSH命令以非零退出状态响应。   Vagrant认为这意味着命令失败了!

apt-get install -y linux-headers-`uname -r` dkms

命令中的标准输出:

Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  fakeroot linux-headers-3.2.0-23 make patch
Suggested packages:
  make-doc diffutils-doc
The following NEW packages will be installed:
  dkms fakeroot linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic make
  patch
0 upgraded, 6 newly installed, 0 to remove and 185 not upgraded.
Need to get 272 kB/12.7 MB of archives.
After this operation, 68.5 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main make amd64 3.81-8.1ubuntu1.1 [119 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main patch amd64 2.6.1-3ubuntu0.1 [80.0 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main patch amd64 2.6.1-3ubuntu0.1 [80.0 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main dkms all 2.2.0.3-1ubuntu3.6 [73.3 kB]
Fetched 271 kB in 1min 37s (2,791 B/s)

命令中的Stderr:

stdin: is not a tty
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/make-dfsg/make_3.81-8.1ubuntu1.1_amd64.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/patch/patch_2.6.1-3ubuntu0.1_amd64.deb  Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

有人可以帮我解决这个问题吗?

1 个答案:

答案 0 :(得分:1)

在处理您的配置方法时,也许以前的stackoverflow响应可以帮助您:hash Sum mismatch