
Ich möchte verwenden box-cutter/debian77
, aber wenn ich versuche
vagrant box add box-cutter/debian77 https://atlas.hashicorp.com/box-cutter/debian77
Ich bekomme
Downloading box from URL: https://atlas.hashicorp.com/box-cutter/debian77
Extracting box...e: 0/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: Error opening archive: Unrecognized archive format
was ist falsch? Ich habe alle Archivierungsprogramme installiert (unar, bsdtar, bzip2, ...)
Oder wo kann ich das Bild manuell herunterladen?
Ich verwende Vagrant 1.4.3 unter Ubuntu 14.10. Derselbe Befehl funktioniert auch bei einem Freund, der Arch verwendet, und bei Debian Wheezy.
Antwort1
Die von Ihnen angegebene URL ist meines Erachtens die einer Webseite und kein Tarball. Sie müssen nur Folgendes tun:
vagrant box add box-cutter/debian77
Antwort2
Sie müssen eine neuere Vagrant-Version installieren.
Ich habe Vagrant 1.6.5 ausprobiert und es funktioniert.
Es scheint, dass 1,5 erforderlich ist, siehe:https://github.com/coreos/coreos-vagrant/issues/112#issuecomment-43425522