Bug report - Chocolately install fails when attempting to upgrade to 0.4.2382.0 #3591

Closed
opened 2026-01-30 23:25:05 +00:00 by claunia · 4 comments
Owner

Originally created by @Taubin on GitHub (Aug 27, 2019).

Environment

Microsoft Windows [Version 10.0.18936.1000]
Windows Terminal version (if applicable):  Version: 0.3.2171.0

Any other software?

Steps to reproduce

Run powershell as admin
Run the following command: choco upgrade microsoft-windows-terminal

Expected behavior

I expect Chocolatey to install the latest version of Terminal (0.4.2382.0)

Actual behavior

The installation fails with the following error:

RROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployment failed with HRESULT: 0x80073CFB, The provided package is already installed, and reinstallation of the package was blocked. Check the AppXDeployment-Server event log for details.

Deployment of package Microsoft.WindowsTerminal_0.3.2171.0_x64__8wekyb3d8bbwe was blocked because the provided package has the same identity as an already-installed package but the contents are different. Increment the version number of the package to be installed, or remove the old package for every user on the system before installing this package.

NOTE: For additional information, look for [ActivityId] a1d00f98-5894-0000-f26c-d5a19458d501 in the Event Log or use the command line Get-AppPackageLog -ActivityID a1d00f98-5894-0000-f26c-d5a19458d501

The upgrade of microsoft-windows-terminal was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyinstall.ps1'.
 See log for details.

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - microsoft-windows-terminal (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyinstall.ps1'.
 See log for details.

Full logfile:
https://gist.github.com/Taubin/57643031f49ab624cfe5375d79f7b93e

Originally created by @Taubin on GitHub (Aug 27, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ``` Microsoft Windows [Version 10.0.18936.1000] Windows Terminal version (if applicable): Version: 0.3.2171.0 Any other software? ``` # Steps to reproduce Run powershell as admin Run the following command: choco upgrade microsoft-windows-terminal # Expected behavior I expect Chocolatey to install the latest version of Terminal (0.4.2382.0) # Actual behavior The installation fails with the following error: ``` RROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployment failed with HRESULT: 0x80073CFB, The provided package is already installed, and reinstallation of the package was blocked. Check the AppXDeployment-Server event log for details. Deployment of package Microsoft.WindowsTerminal_0.3.2171.0_x64__8wekyb3d8bbwe was blocked because the provided package has the same identity as an already-installed package but the contents are different. Increment the version number of the package to be installed, or remove the old package for every user on the system before installing this package. NOTE: For additional information, look for [ActivityId] a1d00f98-5894-0000-f26c-d5a19458d501 in the Event Log or use the command line Get-AppPackageLog -ActivityID a1d00f98-5894-0000-f26c-d5a19458d501 The upgrade of microsoft-windows-terminal was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyinstall.ps1'. See log for details. Chocolatey upgraded 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). Failures - microsoft-windows-terminal (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyinstall.ps1'. See log for details. ``` Full logfile: https://gist.github.com/Taubin/57643031f49ab624cfe5375d79f7b93e
claunia added the Resolution-ExternalNeeds-Tag-Fix labels 2026-01-30 23:25:05 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 27, 2019):

/ping @mkevenaar

@DHowett-MSFT commented on GitHub (Aug 27, 2019): /ping @mkevenaar
Author
Owner

@mkevenaar commented on GitHub (Aug 27, 2019):

@taubin this is known and should be resolved with the next release. As a work around you could run Get-AppxPackage -Name Microsoft.WindowsTerminal | Remove-AppxPackage in an elevated powershell. After that, you can install the package as usual.

@DHowett-MSFT thanks for pinging me!

@mkevenaar commented on GitHub (Aug 27, 2019): @taubin this is known and should be resolved with the next release. As a work around you could run ` Get-AppxPackage -Name Microsoft.WindowsTerminal | Remove-AppxPackage` in an elevated powershell. After that, you can install the package as usual. @DHowett-MSFT thanks for pinging me!
Author
Owner

@mkevenaar commented on GitHub (Aug 27, 2019):

Also it seems that the package is not updated yet to the latest release. This
Should be available soon.

@mkevenaar commented on GitHub (Aug 27, 2019): Also it seems that the package is not updated yet to the latest release. This Should be available soon.
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 29, 2019):

Closing since this is external. The core issue here was that the chocolatey package attempted to install the same (?) or an older (??) version of Terminal over the same (?) or a newer (??) version.

@DHowett-MSFT commented on GitHub (Aug 29, 2019): Closing since this is external. The core issue here was that the chocolatey package attempted to install the same (?) or an older (??) version of Terminal over the same (?) or a newer (??) version.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3591