2015-11-09 4 views
-1

я пытался фиксировать проблему "bsdtar: Error opening archive: Unrecognized archive format" # 161, но я не найти anwser, (им с помощью 1.7.4 бродягу, который является последней версией.поворота файлов в .tar в бродячей

я попробовал этот подход первый:

C:\Users\1>vagrant box add pip C:\Users\1\Desktop 
==> box: Box file was not detected as metadata. Adding it directly... 
==> box: Adding box 'pip' (v0) for provider: 
    box: Unpacking necessary files from: file://C:/Users/1/Desktop 
    box: 
An error occurred while downloading the remote file. The error 
message, if any, is reproduced below. Please fix this error and try 
again. 

Couldn't open file /Users/1/Desktop 

после провала я пытался импортировать файл через URL, что делает меня получаю ошибку на вершине .:

C:\Users\1>vagrant box add pip https://bootstrap.pypa.io/get-pip.py 
==> box: Box file was not detected as metadata. Adding it directly... 
==> box: Adding box 'pip' (v0) for provider: 
    box: Downloading: https://bootstrap.pypa.io/get-pip.py 
    box: Progress: 100% (Rate: 826k/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): 

bsdtar.EXE: Error opening archive: Unrecognized archive format 
+0

какая версия бродяги вы используете? попробуйте получить последнюю версию, она должна исправить –

+0

. Моя версия бродяги - 1.7.4, а последняя - еще одна. –

+0

Какова ваша фактическая проблема? – StephenKing

ответ

0

Vagrant ожидает либо путь/URL-адрес коробки или имя поля, которое доступно на Vagrant Atlas. Вы даете ему просто произвольные вещи, которые не содержат ящик.

К, например, загрузить Ubuntu Trusty x64 box, используйте

vagrant box add ubuntu/trusty64 
Смежные вопросы