Инструменты пользователя

Инструменты сайта


faq:windows:choco

Choco

On Windows XP

To install on Windows XP install Powershell 2.0 first:

  1. install system updates (and .Net updates)
  2. uninstall Powershell 1.0 (show updates in Add or Remove programs)
  3. install Powershell 2.0
  4. install Chocolatey

Errors

Download error

Using Windows 7 choco fails on some packages with error:

"GetResponse" with "0" argument(s): "The underlying connection was closed: An unexpected error occurred on a send."

Error caused by TLS 1.1 and TLS 1.2 not enabled by defult in older .Net packages so in Powershell. 1)2) To enable support of newer TLS install updates for .Net and KB3172605

Powershell error

Ошибка You must provide a value expression on the right-hand side of the '-' operator. означает, что установлена версия Powershell v2 (идёт в комплекте с Windows 7 и Windows 2008). Нужно установить более свежую версию Powershell. Для этого:

  • убедиться что стоит DotNet версии не ниже 4.5.2 (скачать DotNet 4.5.2)
  • скачать обновление WMF5.1 и установить 3)
  • перезагрузить компьютер
faq/windows/choco.txt · Последнее изменение: 2022-02-19 18:16 — 127.0.0.1