2
私はChocolateyWindows 10でこのChocolateyインストール中に7-Zipが失敗するのはなぜですか?
https://chocolatey.org/install
とコマンドを使用してインストールしようとしています:
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
エラー表示されます。私は7zipををインストールしている
Unable to unzip package using 7zip. Perhaps try setting $env:chocolateyUseWindowsCompression = 'true' and call install
again. Error: 7-Zip encountered a fatal error while extracting the files
At line:221 char:9
+ 2 { throw "$errorMessage 7-Zip encountered a fatal error while ex ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Unable to unzip...cting the files:String) [], RuntimeException
+ FullyQualifiedErrorId : Unable to unzip package using 7zip. Perhaps try setting $env:chocolateyUseWindowsCompres
sion = 'true' and call install again. Error: 7-Zip encountered a fatal error while extracting the files
を。
を実行していたあなたは(:chocolateyUseWindowsCompression =「true''し、再試行してください '$ ENVを設定する)エラーメッセージに提案をしてみてくださいことはできますか?たぶん、PowerShellのインストールコマンドも試してみてください。 –
インストール中にパッケージをアンパックする7za.exeのダウンロードがあります。 – ferventcoder
また、これを実行した後、 '$ Error'を使ってエラー配列を調べました。その前に疑わしいエラーはありますか? – arjabbar