1
resposta

Erro - vagrant up

Boa noite,

Segue o erro na saída do comando vagrant up:

$ vagrant up 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 The box 'hashicorp/precise64' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp's 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/hashicorp/precise64"] Error: SSL certificate problem: self signed certificate in certificate chain

Virtual Box 6.1.18

$ vagrant version Installed Version: 2.2.14 Latest Version: 2.2.14

Tentei vagrant box add hashicorp/precise64 vagrant box add precise64 http://files.vagrantup.com/precise64.box Sem sucesso. Conseguem me auxiliar?

Abraços.

1 resposta

Olá, Liliane. Tudo bem?

Isso aconteceu comigo também. Acredito que a Hashicorp (criadora do Vagrant) descontinuou essa máquina. De toda forma, você pode substituir a linha do Vagrantfile que define o 'hashicorp/precise64' para ficar assim:

config.vm.box = "ubuntu/bionic64"

Pelo que tenho nas minhas anotações, é essa máquina que será usada no restante do curso.

Espero ter ajudado. Se tiver alguma dúvida, é só dizer!

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software