9
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

vagrant の box を add しようとしたら The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and try again.

Posted at

vagrant で ローカルの box のファイルをaddしようとしたら下記のエラー

ファイルが壊れてないか確認しろと言われると焦ります。

user@example:~/server$ vagrant box list
base    (virtualbox)
precise (virtualbox)
trusty  (virtualbox)
user@example:~/server$ vagrant box add examplebox example.box
Downloading box from URL: file:~/server/example.box
Extracting box...te: 1027M/s, Estimated time remaining: --:--:--)
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):

x ./box-disk1.vmdk: truncated gzip input
bsdtar: Error exit delayed from previous errors.

なんてことはなく、権限エラーでした。

読み込み権限を追加して解決。

もうちょっとメッセージがなんて言うか permission den... とかそういうのがいいなぁ ...

9
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?