microsoft / microsoft/winget-cli
Error 0x80073cf3: Cannot upgrade Firefox because another package with the same name is installed
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
When trying to upgrade Mozilla Firefox I receive this error message about a missing dependency:
winget upgrade -e Mozilla.Firefox --verbose
Trovato Mozilla Firefox [Mozilla.Firefox] Versione 129.0.2
Microsoft non è responsabile né concede alcuna licenza a pacchetti di terze parti.
Verifica dell'hash di installazione completata
Avvio installazione pacchetto in corso...
████████████████████████████▌ 95%
Nel sistema manca una dipendenza per questo pacchetto.
Programma di installazione non riuscito con codice di uscita: '0x80073cf3 : Convalida degli aggiornamenti, delle dipendenze e dei conflitti del pacchetto non eseguita.'
I expected that winget is able to resolve any dependency tree issues. However, digging in the logs for the command execution, I find these interesting lines:
2024-08-23 11:08:16.668 [CORE] Deployment operation #1: Impossibile installare il pacchetto Mozilla.MozillaFirefox_129.0.2.0_x64__jag0gd4e3s9p2. È già installato un pacchetto Mozilla.MozillaFirefox_126.0.1.0_x64__gmpnhwe7bv608 diverso con lo stesso nome. Prima di eseguire l'installazione, rimuovere il pacchetto Mozilla.MozillaFirefox_126.0.1.0_x64__gmpnhwe7bv608.
2024-08-23 11:08:16.668 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(192)\WindowsPackageManager.dll!00007FFAD4A46773: (caller: 00007FFAD4961BBD) Exception(1) tid(1274) 80073CF3 Convalida degli aggiornamenti, delle dipendenze e dei conflitti del pacchetto non eseguita.
Which roughly translate to: "Impossible to install Mozilla Firefox 129 package. There's a different Mozilla Firefox 126 package with the same name. Before installing, remove Mozilla Firefox 126" which seems absurd to me because I'm asking winget to upgrade the package.
Steps to reproduce
winget upgrade -e Mozilla.Firefox
Expected behavior
winget is able to upgrade Mozilla Firefox just fine as it does for other packages
Actual behavior
winget is unable to upgrade Mozilla Firefox because another version of the package is already installed
Environment
Gestione pacchetti Windows v1.8.1911
Copyright (c) Microsoft Corporation. Tutti i diritti sono riservati.
Windows: Windows.Desktop v10.0.19045.4780
Architettura di sistema: X64
Pacchetto: Microsoft.DesktopAppInstaller v1.23.1911.0
Directory WinGet
----------------------------------------------------------------------------------------------------------------------------------------
Log %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Impostazioni utente %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Directory collegamenti portabili (utente) %LOCALAPPDATA%\Microsoft\WinGet\Links
Directory collegamenti portabili (computer) C:\Program Files\WinGet\Links
Radice pacchetto portabile (utente) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Radice pacchetto portabile C:\Program Files\WinGet\Packages
Radice pacchetto portabile (x86) C:\Program Files (x86)\WinGet\Packages
Download del programma di installazione %USERPROFILE%\Downloads
Collegamenti
------------------------------------------------------------------------------------
Informativa sulla privacy https://aka.ms/winget-privacy
Contratto di licenza https://aka.ms/winget-license
Comunicazioni di terze parti https://aka.ms/winget-3rdPartyNotice
Home page https://aka.ms/winget
Condizioni di Windows Store https://www.microsoft.com/en-us/storedocs/terms-of-sale
Impostazione amministrazione Stato
------------------------------------------------------
LocalManifestFiles Disabilitate
BypassCertificatePinningForMicrosoftStore Disabilitate
InstallerHashOverride Disabilitate
LocalArchiveMalwareScanOverride Disabilitate
ProxyCommandLineOptions Disabilitate
DefaultProxy Disabilitate
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with winget upgrade -e Mozilla.Firefox --verbose and inspect the reported deployment path external/pkg/src/AppInstallerCommonCore/Deployment.cpp alongside the diagnostic logs. Determine why the existing Firefox package is treated as a conflicting package rather than an upgrade; done means the upgrade completes without the 0x80073cf3 conflict.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100