ChocolateyでStrawberry Perlが更新できない

chocolatey upgrade strawberryperlすると、

WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\StrawberryPerl_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
ERROR: Running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\********\AppData\Local\Temp\chocolatey\StrawberryPerl\5.30.0.1\strawberry-perl-5.30.0.1-64bit.msi" /qn /norestart /l*v c:\StrawberryPerl_msi_install.log] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\StrawberryPerl_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
The upgrade of strawberryperl was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\StrawberryPerl\tools\chocolateyInstall.ps1'.
 See log for details.
 Unsuccessful operation for strawberryperl.

とか出る。

書いてある通り、

--install-arguments="'/l*v c:\StrawberryPerl_msi_install.log'"

を追加して再実行してみる。出力されたログにこんなことが書いてあった。

MSI (s) (E8:F8) [09:12:05:418]: Doing action: CA_UninstallOldVersion
Action ended 9:12:05: FindRelatedProducts. Return value 1.
Action start 9:12:05: CA_UninstallOldVersion.
MSI (s) (E8:F8) [09:12:05:418]: Product: Strawberry Perl (64-bit) -- Already installed version of Strawberry Perl (64-bit) cannot be upgraded; it has to be uninstalled first.

Already installed version of Strawberry Perl (64-bit) cannot be upgraded; it has to be uninstalled first.
Action ended 9:12:05: CA_UninstallOldVersion. Return value 3.
Action ended 9:12:05: INSTALL. Return value 3.

先にアンインストールしろってことかな?

C:\Users\********\AppData\Local\Temp\chocolatey\StrawberryPerl\5.30.0.1\strawberry-perl-5.30.0.1-64bit.msi

にあるのを直接叩いてみると、GUIで同じことを言われた。

つまりChocolateyのStrawberry Perlのパッケージでは、前のバージョンがうまくアンインストールできない(ことがある?)らしい。

もうちょっと調べたい気もしたが、今回はここまで。とりあえず手動でアンインストール後、再度、

choco upgrade strawberryperl

した。