File tree Expand file tree Collapse file tree
powershell-gallery/docs-conceptual/how-to/getting-support Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,25 +7,24 @@ title: Troubleshooting cmdlets
77
88## How to resolve "WARNING: Package 'your package name' failed to download" issue
99
10- It is reported that ` Install-Module ` or ` Update-Module ` sometimes fails on some machines. Based on
11- our investigation, it is something to do with the networking connection. Recently we updated NuGet
12- provider so that it can reliably download packages. You can follow the instructions below to install
13- the latest build of NuGet provider and then install or update your module. Let's use 'Azure' module
14- as an example below.
10+ The ` Install-Module ` or ` Update-Module ` commands sometimes fail. Based on investigations, it's
11+ usually a networking problem. Ensure that you are using TLS 1.2 or higher and that your firewall
12+ rules allow access to the required network endpoints.
13+
14+ [ !INCLUDE [ TLS 1.2 Requirement] ( ../../../includes/tls-gallery.md )]
15+
16+ The NuGet provider was updated to improve reliably. Use the following instructions to install the
17+ latest build of NuGet provider and then install or update your module.
1518
1619``` powershell
1720Install-PackageProvider NuGet -MinimumVersion 2.8.5.206 -Force
18- Launch new PowerShell Console
19- Update-Module Azure -Verbose
2021```
2122
2223## Required network endpoints
2324
2425The ` Install-* ` and ` Update-* ` cmdlets require internet access to connect to the network endpoints
2526used by the PowerShell Gallery.
2627
27- [ !INCLUDE [ TLS 1.2 Requirement] ( ../includes/tls-gallery.md )]
28-
2928Ensure that your network access policies allow you to connect to TCP port 443 of the following
3029endpoints.
3130
You can’t perform that action at this time.
0 commit comments