Vagrant too old to fetch boxes

Bug #1359098 reported by Melvyn Sopacua
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
vagrant (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The version in Trusty is too old for the online format. Following the docs example (http://docs.vagrantup.com/v2/getting-started/index.html) no longer works. Using vbox add with a URL no longer works.
Updating to the current 1.6.3 fixes all this.

lsb_release -rd:
Description: Ubuntu 14.04.1 LTS
Release: 14.04

apt-cache policy vagrant:
vagrant:
  Installed: 1:1.6.3
  Candidate: 1:1.6.3
  Version table:
 *** 1:1.6.3 0
        100 /var/lib/dpkg/status
     1.4.3-1 0
        500 http://nl.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

Expected:

% vagrant init hashicorp/precise64 <[9:45:56]/{ 0.90 0.70 0.51 }>
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
melvyn@sd02 ~/vg
% vagrant up <[9:46:17]/{ 0.83 0.69 0.52 }>
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'hashicorp/precise64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'hashicorp/precise64'
    default: URL: https://vagrantcloud.com/hashicorp/precise64
==> default: Adding box 'hashicorp/precise64' (v1.1.0) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/hashicorp/precise64/version/2/provider/virtualbox.box
==> default: Successfully added box 'hashicorp/precise64' (v1.1.0) for 'virtualbox'!
==> default: Importing base box 'hashicorp/precise64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'hashicorp/precise64' is up to date...
==> default: Setting the name of the VM: vg_default_1408521268845_47725
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.2.0
    default: VirtualBox Version: 4.3
==> default: Mounting shared folders...
    default: /vagrant => /home/melvyn/vg

Actual:

% vagrant init hashicorp/precise64 <[9:26:40]/{ 0.27 0.49 0.55 }>
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
melvyn@sd02 ~/vg
% vagrant up <[9:26:57]/{ 0.25 0.47 0.54 }>
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The box 'hashicorp/precise64' could not be found.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vagrant (Ubuntu):
status: New → Confirmed
Revision history for this message
Jack Twilley (mathuin) wrote :

Found this bug report when I came across the same problem. The current version of vagrant is now 1.6.5.

Changed in vagrant (Ubuntu):
assignee: nobody → Ben Howard (utlemming)
Changed in vagrant (Ubuntu):
assignee: Ben Howard (utlemming) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.