2017-11-12 4 views
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 

を。

+0

を実行していたあなたは(:chocolateyUseWindowsCompression =「true''し、再試行してください '$ ENVを設定する)エラーメッセージに提案をしてみてくださいことはできますか?たぶん、PowerShellのインストールコマンドも試してみてください。 –

+0

インストール中にパッケージをアンパックする7za.exeのダウンロードがあります。 – ferventcoder

+0

また、これを実行した後、 '$ Error'を使ってエラー配列を調べました。その前に疑わしいエラーはありますか? – arjabbar

答えて

0

数ヶ月後、私はcmdから同じコマンドをAdministrative Privilegeで実行しました。主なポイントは

cmd.exe As an Administrator.

関連する問題