Can't build on MacOSX
xluffy opened this issue · comments
I run this repo on MacOS, build with vagrant, then I run command:
> vagrant up
The box 'boxcutter/ubuntu1604' 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:
I think box rename from boxcutter/ubuntu1604
to box-cutter/ubuntu1604
(Check here https://app.vagrantup.com/box-cutter/boxes/ubuntu1604). So I try to fix Vagrantfile to:
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "box-cutter/ubuntu1604"
But, the box doesn't exist too.
> curl -IL https://vagrantcloud.com/box-cutter/boxes/ubuntu1604/versions/2.0.26/providers/virtualbox.box
HTTP/1.1 302 Found
Server: Cowboy
Date: Wed, 03 Oct 2018 02:20:36 GMT
Connection: keep-alive
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Location: https://app.vagrantup.com/box-cutter/boxes/ubuntu1604/versions/2.0.26/providers/virtualbox.box
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
X-Request-Id: c5d2e420-0f2d-43b5-8991-240fdc6bffa8
X-Runtime: 0.009144
Via: 1.1 vegur
HTTP/1.1 302 Found
Server: Cowboy
Date: Wed, 03 Oct 2018 02:20:38 GMT
Connection: keep-alive
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Location: http://cdn.boxcutter.io/ubuntu/virtualbox5.1.10/ubuntu1604-2.0.26.box
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
X-Request-Id: c7a7031b-72ee-471f-9369-229d5735aa85
X-Runtime: 0.224121
Via: 1.1 vegur
HTTP/1.1 404 Not Found
Content-Type: application/xml
Connection: keep-alive
Date: Wed, 03 Oct 2018 02:20:40 GMT
Server: AmazonS3
X-Cache: Error from cloudfront
Via: 1.1 b0fefe61f56a8633f9022434d425989d.cloudfront.net (CloudFront)
X-Amz-Cf-Id: Q_4enxc2skMRxQ9dG9gdRDF7St3UASmxhqzRPv5I0TyKyEVD59Us1g==
So we should replace boxes? why not ubuntu/trusty64
?
Hmm, I think latest commit this repo doesn't merge to https://github.com/phusion/passenger/tree/stable-5.3/packaging
You can use generic/ubuntu1804. I already fixed this in af378ec.