[error]Package 'Az.Accounts' failed to download since MSFT outage yesterday
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- powershell
- Domínio
- devops
Direção de pesquisa
The report points to installing Az.Synapse in an Azure DevOps AzurePowerShell@5 pipeline, with Az.Accounts 3.0.2 failing to download from PowerShell Gallery. Start by checking the package download and installation path for that pipeline and whether the reported outage still reproduces. Done means the package installs successfully or the issue is narrowed to a reproducible Gallery failure; the report names no repository files or tests.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Steps to reproduce
When executing a CICD pipeline in ADO (YAML script) I get an error saying:
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.Accounts/3.0.2' is not valid.
##[error]Package 'Az.Accounts' failed to download.
##[error]PowerShell exited with code '1'.
YAML CODE:
- task: AzurePowerShell@5
displayName: Install AZ-Synapse
inputs:
azureSubscription: '$(TEST_DeployDevopsConnection)'
ScriptType: 'InlineScript'
Inline: "Install-Module -Name \"Az.Synapse\" -Confirm:$false -Scope CurrentUser -Force;"
azurePowerShellVersion: 'LatestVersion'
Expected behavior
Installs Az.Synapse
Actual behavior
Pipeline fails
Error details
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.Accounts/3.0.2' is not valid.
##[error]Package 'Az.Accounts' failed to download.
##[error]PowerShell exited with code '1'.
Environment data
unknown
Version
3.0.2
Visuals
No response
- Linguagem predominante
- PowerShell
- Estrelas
- 289
- Forks
- 83
- Merge médio
- 1min
- PRs com merge (30d)
- 1
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de PowerShell/PowerShellGallery
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 38/100
PowerShell/PowerShellGallery#357 · 3 comentários · 4 reações ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 48/100
PowerShell/PowerShellGallery#355 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 31/100
PowerShell/PowerShellGallery#354 · 1 comentário · 3 reações ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
PowerShell/PowerShellGallery#353 · 5 reações ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
PowerShell/PowerShellGallery#350 · 7 comentários · 8 reações ·
Todas as issues de PowerShell/PowerShellGallery
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
cython/cython#8110 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100