-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Build Error #520
Comments
I am also facing the same issue. Any help would be highly appreciated |
is what I used on Linux. |
did u solve the probleme ? |
Hi kgardas, I tried the fix and had same result. Looking into the core parts now. |
first changedirection to the metasploitable3 folder,
just create a new file, copy all the codes from windows_2008_r2_fix.json and rename the file as windows_2008_r2_copy.json |
Hi, I am using Virtual Box as you can see below is my environment. I am not using VMware due to the commercial vagrant plugin. vagrant plugin install vagrant-vbguest |
I did used as you said and here is the result. Compatible version of VirtualBox found. The plugins failed to initialize correctly. This may be due to manual vagrant plugin repair If Vagrant was recently updated, this error may be due to incompatible vagrant plugin expunge --reinstall Or you may want to try updating the installed plugins to their latest vagrant plugin update Error message given during initialization: Unable to resolve dependency: user requested 'vagrant-reload (= 0.0.1)' Error building the Vagrant box using Packer. Please check the output above for any error messages.
PS C:\Users\Sachin Jung Karki\Documents\Virtual Machines\MSF3\metasploitable3> |
for the parameter please refer to the README file, as for Virtualbox just needs to change the parameter
this error is caused by an unrecognised character, if you looking deeply at the |
Error: Failed to prepare build: "qemu" 1 error(s) occurred:
|
After the installation fails, part of the installed is still there, how to get rid of it? Grateful for any help. |
This is a |
Oh, thank you for the answer.
--
Отправлено из Mail.ru для Android понедельник, 13 февраля 2023г., 18:44 +03:00 от Jeffrey Martin ***@***.*** :
…This is a packer error it simply did not finish cleanup on failure you can simply delete the directory and packer will recreate it during the next build attempt.
—
Reply to this email directly, view it on GitHub , or unsubscribe .
You are receiving this because you commented. Message ID: @ github . com>
|
i have the same problem and can not find solution |
I have been trying to build the Metasploitable3 box but I got errors. I have the following setup
OS: Windows 10 Pro
Packer Version: 1.7.2
Vagrant Version: 2.2.15
VirtualBox Version: 6.1
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-reload
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master> .\build.ps1 windows2008
Compatible version of VirtualBox found.
Compatible version of Packer found.
Compatible version of Vagrant found.
Compatible version of vagrant-reload plugin found.
All requirements found. Proceeding...
Building metasploitable3-win2k8 Vagrant box...
Error: Failed to prepare build: "virtualbox-iso"
1 error occurred:
* Deprecated configuration key: 'iso_checksum_type'. Please call
packer fix
against your template to update your template to be compatible with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.
==> Builds finished but no artifacts were created.
Error building the Vagrant box using Packer. Please check the output above for any error messages.
At C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master\build.ps1:157 char:10
messages.
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master>
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master> cd .\packer\templates\
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master\packer\templates> packer build .\windows_2008_r2_old.json
Error: Failed to prepare build: "parallels-iso"
1 error occurred:
* Deprecated configuration key: 'iso_checksum_type'. Please call
packer fix
against your template to update your template to be compatible with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.
Error: Failed to prepare build: "qemu"
1 error occurred:
* Deprecated configuration key: 'iso_checksum_type'. Please call
packer fix
against your template to update your template to be compatible with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.
Error: Failed to prepare build: "virtualbox-iso"
1 error occurred:
* Deprecated configuration key: 'iso_checksum_type'. Please call
packer fix
against your template to update your template to be compatible with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.
Error: Failed to prepare build: "vmware-iso"
1 error occurred:
* Deprecated configuration key: 'iso_checksum_type'. Please call
packer fix
against your template to update your template to be compatible with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.
==> Builds finished but no artifacts were created.
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master\packer\templates>
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master\packer\templates> packer fix .\windows_2008_r2.json > windows_2008_r2_new.json
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master\packer\templates> cd ../..
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master> .\build.ps1 windows2008
Compatible version of VirtualBox found.
Compatible version of Packer found.
Compatible version of Vagrant found.
Compatible version of vagrant-reload plugin found.
All requirements found. Proceeding...
Building metasploitable3-win2k8 Vagrant box...
Failed to parse template: Error parsing JSON: invalid character 'ÿ' looking for beginning of value
At line 1, column 1 (offset 1):
1: �
^
Error building the Vagrant box using Packer. Please check the output above for any error messages.
At C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master\build.ps1:157 char:10
messages.
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master>
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master> cd .\packer\templates
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master\packer\templates> packer build .\windows_2008_r2.json
Failed to parse template: Error parsing JSON: invalid character 'ÿ' looking for beginning of value
At line 1, column 1 (offset 1):
1: �
^
PS C:\Users\Sachin Jung Karki\Documents\ISO\MS3\metasploitable3-master\packer\templates>
Can you help solve this issue
The text was updated successfully, but these errors were encountered: