Skip to content

virtualbox-iso: ISO download failed. Build 'virtualbox-iso' errored: ISO download failed. #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
minnjm opened this issue Jan 31, 2018 · 9 comments

Comments

@minnjm
Copy link

minnjm commented Jan 31, 2018

run packer command on Windows 10:
packer build -only=virtualbox-iso application-server.json

got the following error:

==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file://C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso
==> virtualbox-iso: Downloading or copying ISO
virtualbox-iso: Downloading or copying: http://releases.ubuntu.com/trusty/ubuntu-14.04.4-server-amd64.iso
virtualbox-iso: Error downloading: checksums didn't match expected: 07e4bb5569814eab41fafac882ba127893e3ff0bdb7ec931c9b2d040e3e94e7a
==> virtualbox-iso: ISO download failed.
Build 'virtualbox-iso' errored: ISO download failed.

==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: ISO download failed.

==> Builds finished but no artifacts were created.

See the similiar issues were raised and fixed before. It now resurfaces because of new release, 14.04.05?

@minnjm
Copy link
Author

minnjm commented Jan 31, 2018

Read through "Pull request" and saw that the version and checksum were updated to 14.04.5. I just forked the code today and it is still 14.04.4. Where I can download the latest and greatest, or the fixes have not been committed?

@oquirozm
Copy link

Just for the record:
Change the application-server.json file so in "PACKER_BOX_NAME" reads "ubuntu-14.04.5-server-amd64" and set the new checksum (dde07d37647a1d2d9247e33f14e91acb10445a97578384896b4e1d985f754cc1) at the "iso_checksum" property.

@ndsubhash
Copy link

Can I modify my local application-server.json file to reflect the 17.10 (artful) version? I guess I need to then change iso_url, packer_box_name and checksum

@oquirozm
Copy link

@ndsubhash probably, though, some setting or package in the box could get you an error for moving from 14.x to 17.x. Usually, major version change mean backward compatibility issues.

@ashish049
Copy link

I am getting the same error. I forked the code today only. I am totally new to Git and also installed the same today only and stuck with this issue. Please advise how this was resolved.

@oquirozm
Copy link

oquirozm commented Sep 2, 2018

@ashish049 so look for the application-server.json file. In that file, look for the line that has the PACKER_BOX_NAME property. After the colon next to it, change the name of the packer box being used (add the version I wrote in my previous comment above). Update the iso_checksum property too. Got it?

@ashish049
Copy link

@oquirozm Thanks. That resolved the issue.

@oquirozm
Copy link

oquirozm commented Sep 3, 2018

@ashish049 awesome, glad to have been of help!

@13rac1
Copy link
Contributor

13rac1 commented Feb 15, 2019

Fixed by #76

@13rac1 13rac1 closed this as completed Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants