Receiving random Source Location is not valid while attempting to install-module AZ
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- powershell
- Área
- devops
Línea de trabajo
Start by reproducing the failed Install-Module -Name Az -Repository PSGallery -Force -AllowClobber -Scope CurrentUser download and inspect the package source handling for https://www.powershellgallery.com/api/v2/package/Az.ResourceGraph/1.3.0. The report says failures affect different packages across PowerShell 5.1 and 7.6 on two networks, but it does not identify a code path or test. Done means identifying and fixing the cause so module installation succeeds.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Steps to reproduce
I have been attempting to install the Az module for the past 2 days. Every attempt results in a different package erroring. For example,
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.ResourceGraph/1.3.0' is not valid.
PackageManagement\Install-Package : Package 'Az.ResourceGraph' failed to download.
The source location is valid. I have made sure that I am using TLS 1.2. I have attempted on Powershell 5.1 and 7.6. I have attempted on 2 separate machines located on completely separate networks. Once is Windows Server 2022 and the other is Windows 11. The Windows Server is an Azure VM. Same results but different packages error each time even after successive calls.
Install command is:
Install-Module -Name Az -Repository PSGallery -Force -AllowClobber -Scope CurrentUser
I have also marked the respository trusted.
Expected behavior
I expect the installation to be successful.
Actual behavior
For example:
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.ResourceGraph/1.3.0' is not valid.
PackageManagement\Install-Package : Package 'Az.ResourceGraph' failed to download.
Error details
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.ResourceGraph/1.3.0' is not valid.
PackageManagement\Install-Package : Package 'Az.ResourceGraph' failed to download.GET
Environment data
PS C:\Windows\system32> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.20348.5756
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.5756
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version
5.1.20348.5756
Visuals
No response
- Lenguaje dominante
- PowerShell
- Estrellas
- 289
- Forks
- 83
- Merge medio
- 1 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PowerShell/PowerShellGallery
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 48/100
PowerShell/PowerShellGallery#355 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 31/100
PowerShell/PowerShellGallery#354 · 1 comentario · 3 reacciones ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
PowerShell/PowerShellGallery#353 · 5 reacciones ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
PowerShell/PowerShellGallery#350 · 7 comentarios · 8 reacciones ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
PowerShell/PowerShellGallery#349 · 1 comentario · 1 reacción ·
Todos los issues de PowerShell/PowerShellGallery
Issues similares
-
NFS StorageProvider renders a missing nfsSubDir as "<no value>"Posiblemente ocupada @ldming la tomó hoy. Abiertokind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apecloud/kubeblocks#11067 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
awslabs/route53-dynamic-dns-with-lambda#67 · 1 comentario ·
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
post-v4
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
security
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
alunduil/alunduil-infrastructure#1052 ·
Los mantenedores suelen responder en 1 día