You are not logged in.

#1 2014-05-24 21:15:34

leofl
Member
Registered: 2013-09-06
Posts: 6

[SOLVED] Problems in using vagrant

Hi everyone,

I have just installed vagrant (pacman -S vagrant).

But I'm not able to successfully execute the "vargant box add" command.


[leonardo@ARCHLEO vagrant]$ vagrant box add ubuntu chef/ubuntu-12.04
The box 'chef/ubuntu-12.04' could not be found or
could not be accessed in the remote catalog. If this is a private
box on Vagrant Cloud, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://vagrantcloud.com/chef/ubuntu-12.04"]
Error: 
[leonardo@ARCHLEO vagrant]$ vagrant box add ubuntu https://vagrantcloud.com/chef/ubuntu-12.04
==> box: Adding box 'ubuntu' (v0) for provider: 
    box: Downloading: https://vagrantcloud.com/chef/ubuntu-12.04
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Both commands above were triggered from folder /home/leonardo/workspaces/polignu/radar/deployment/vagrant.

I have also tried to donwload the box and execute box add from local file (precise32.box  is a local file):

[leonardo@ARCHLEO ~]$ vagrant box add ubuntu precise32.box 
==> box: Adding box 'ubuntu' (v0) for provider: 
    box: Downloading: file:///home/leonardo/precise32.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

I have also with other boxes and the results were the same.

I have done a large research about the problem, and I've found no solution.
The closest scenarios I found were solved by properly setting permissions to ~/.vagrant.d or not using special characters on the path to the vagrant folder. But any of them is my case.
It looks like some kind of curl underlying problem, but I have no more clues...

Any help is appreciated.

Tks,
Leonardo Leite

Last edited by leofl (2014-06-17 18:01:59)

Offline

#2 2014-06-17 18:01:28

leofl
Member
Registered: 2013-09-06
Posts: 6

Re: [SOLVED] Problems in using vagrant

Never mind... I removed vagrant package, updated arch, installed again vagrant, and it worked!

Offline

Board footer

Powered by FluxBB