Skip to content
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

(virtualbox) Fatal error during installation #2214

Open
tranquilcarbon opened this issue Apr 12, 2023 · 5 comments
Open

(virtualbox) Fatal error during installation #2214

tranquilcarbon opened this issue Apr 12, 2023 · 5 comments

Comments

@tranquilcarbon
Copy link

Chocolatey Version

1.3.1

Chocolatey License

None

Package Version

7.0.6 -> 7.0.6.20230201

Current Behaviour

For a few months, I have been unable to update VirtualBox. running the command: choco upgrade VirtualBox results in the following output:

Chocolatey v1.3.1
Upgrading the following packages:
virtualbox
By upgrading, you accept licenses for the packages.

You have virtualbox v7.0.6 installed. Version 7.0.6.20230201 is available based on your source(s).
virtualbox is not running
Progress: Downloading virtualbox 7.0.6.20230201... 100%

virtualbox v7.0.6.20230201 [Approved]
virtualbox package files upgrade completed. Performing other installation steps.
File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Hashes match.
Hashes match.
Installing virtualbox...
Microsoft.PowerShell.Commands.WriteErrorException
VirtualBox-7.0.6-155176-Win.exe: error: Installation failed! Error: Fatal error during installation.
ERROR: Running ["C:\Users\Admin\AppData\Local\Temp\chocolatey\virtualbox\7.0.6.20230201\VirtualBox-7.0.6-155176-Win.exe" -s -l -msiparams REBOOT=ReallySuppress ALLUSERS=1 ] was not successful. Exit code was '1'. See log for possible error messages.
The upgrade of virtualbox was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\virtualbox\tools\chocolateyInstall.ps1'.
 See log for details.

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - virtualbox (exited 1) - Error while running 'C:\ProgramData\chocolatey\lib\virtualbox\tools\chocolateyInstall.ps1'.
 See log for details.

i believe the error occurs because VirtualBox reports it's version differently to how chocolatey reports it, VirtualBox reports it's version as 7.0.6 while chocolatey reports it as 7.0.6.20230201.

Expected Behaviour

either update VirtualBox to 7.0.6.20230201 or recognise the latest version is installed and remove it from the outdated list

Steps To Reproduce

  1. install virtualbox 7.0.6 from the oracle VirtualBox website
  2. attempt to update VirtualBox through the command "choco upgrade all" or "choco upgrade VirtualBox"
  3. wait for the update process to fail.

Environment

- Operating System:Microsoft Windows NT 10.0.19045.0
- PowerShell Version:5.1.19041.2673
- Shell:CMD

Chocolatey Log

https://gist.github.com/tranquilcarbon/167f4274ea876c03575e8bf82db1fac9

Anything else?

No response

@pauby
Copy link
Member

pauby commented Apr 14, 2023

This is a duplicate of #2144 and may be fixed by #2137

I suggest we leave this one open so that other people can see it and don't have to raise another issue because of it.

@github-actions
Copy link

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue will be closed in 14 days if it continues to be inactive.

@github-actions
Copy link

Dear contributor,

As this issue seems to have been inactive for quite some time now, I've automatically closed it.
If you feel this is a valid issue, please feel free to re-open the issue if/when a pull request
has been added.
Thank you for your contribution.

Copy link

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue will be closed in 14 days if it continues to be inactive.

Please do not add a comment to circumvent automatic closure unless you plan to help move it forward.
Doing this may lead to the issue being closed immediately instead.

Copy link

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue will be closed in 14 days if it continues to be inactive.

Please do not add a comment to circumvent automatic closure unless you plan to help move it forward.
Doing this may lead to the issue being closed immediately instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants