majkinetor / au

Chocolatey Automatic Package Updater Module
GNU General Public License v2.0
227 stars 71 forks source link

Updating to au 2021.6.27 using chocolatey fails with "Missing expression" error #249

Closed schlotter closed 3 years ago

schlotter commented 3 years ago

This is the error I get during cup all:

You have au v2020.11.21 installed. Version 2021.6.27 is available based on your source(s).
Progress: Downloading au 2021.6.27... 100%

au v2021.6.27 [Approved]
au package files upgrade completed. Performing other installation steps.

==| Starting AU installation

Module path: 'C:\ProgramData\chocolatey\lib\au\tools\AU'

AU version 2021.6.27 installed successfully at 'C:\Program Files\WindowsPowerShell\Modules\AU'
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: At C:\Program Files\WindowsPowerShell\Modules\AU\Private\Test-Sandbox.ps1:4 char:18
+   [string] $Name,
+                  ~
Missing expression after ','.
The upgrade of au was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\au\tools\chocolateyInstall.ps1'.
 See log for details.
majkinetor commented 3 years ago

Yeah, bad package.

Try choco install au --version=2021.7.18

schlotter commented 3 years ago

Thank you, upgrading to au 2021.7.18 was successful!