This commit is contained in:
Claus Schiroky 2024-08-27 13:06:25 +02:00 коммит произвёл GitHub
Родитель 29271bbfda
Коммит 0d4946d7db
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 17 добавлений и 0 удалений

Просмотреть файл

@ -92,6 +92,23 @@ For new issues, file your bug or feature request as a new Issue. Please describe
PS C:\> Register-PSRepository -Default
```
* **Trying to run RESET raise PowerShell error "End of Central Directory record could not be found"**
When you try to use 'RESET', you might see the following error:
```
PackageManagement\Install-Package : Package 'ComplianceUtility' failed to be installed because: End of Central Directory
record could not be found.
At C:\Programm Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (ComplianceUtility:String) [Install-Package], Exception
+ FullQualifiedErrorId : Package '{0}' failed to be installed because: {1}, Microsoft.PowerShell.PackageManagement
.Cmdletes.InstallPackage
```
**Resolution:** To solve this issue you need to ensure to have any proxy or network filtering meachanism disabled.
* **"powershell-7.3.4-osx-x64.pkg" can't be opened because Apple cannot check it for malicious software**
This applies only on Apple macOS: If you double-click the file the above message is displayed (the version may differ). It happens due to your Security & Privacy preferences.