Closed FiveArms closed 9 months ago
On the off chance someone is in a similar predicament - I ran choco upgrade -y vivaldi.portable --version 6.5.3206.48
and now other packages upgrade as expected. I don't understand why calling for an upgrade fails, but calling for a specific version upgrade doesn't, but oh well. Best of luck troubleshooters!
(this bit of documentation was what pushed me towards this solution: https://docs.chocolatey.org/en-us/choco/troubleshooting/dependency-troubles )
Exit code was '4'
The issue you are having is with the Vivaldi installer. It's not a package issue. Perhaps the version that was being upgraded to, 6.5.3206.42, had an issue with upgrades.
However, I'll close this issue as you resolved it. Thanks for letting me know.
Chocolatey Version
2.2.2
Chocolatey License
None
Package Version
6.5.3206.39 -> 6.5.3206.42
Current Behaviour
Requesting an upgrade to vivaldi.portable leads to an error - exit code 4 - with the upgrade being NOT successful.
Expected Behaviour
Requesting an upgrade to vivaldi.portable leads to a successful upgrade of vivaldi.portable.
Steps To Reproduce
choco upgrade -y vivaldi.portable
vivaldi.portable (exited 4) - Error while running 'C:\ProgramData\chocolatey\lib\vivaldi.portable\tools\chocolateyinstall.ps1'.
Full output with redactions:
Environment
Chocolatey Log
Anything else?
It is possible that this is related to issue #198 where illegal characters are causing a problem with a path when uninstalling vivaldi.portable.