Winget appinstaller upgrade is very inconsistent

Aperta
#6,563 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

Start by reproducing winget upgrade microsoft.appinstaller on the stated Windows Server and WinGet versions, then trace the WinGet CLI upgrade path implicated by the failure. Done means the command upgrades App Installer successfully on the first attempt rather than requiring retries.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Command-Upgrade Issue-Bug
Relevant area(s)

WinGet CLI

Relevant command(s)

winget upgrade

Brief description of your issue

winget upgrade microsoft.appinstaller

This command frequently fails, seemingly at random. Often the error is "InstallerFailedWithCode"

Steps to reproduce

winget upgrade microsoft.appinstaller

Results are inconsistent. If you keep retrying, it might eventually work. It needs to successfully work on the first try.

Expected behavior

Command should work and successfully upgrade winget every time.

Actual behavior

Randomly fails, but if you retry, sometimes it randomly works.

Environment
Windows.Server v10.0.17763.9245
winget v1.28.240 (trying to update it to latest)
Lingua principale
C++
Stelle
26.6k
Fork
1.8k
Merge medio
3g 10h
PR unite (30g)
41

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/winget-cli

Tutte le issue di microsoft/winget-cli

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.