Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(microsoft-windows-terminal) Cannot downgrade - ERROR: Cannot create a file when that file already exists. #216

Open
opoplawski opened this issue Oct 4, 2023 · 0 comments

Comments

@opoplawski
Copy link

Expected Behavior

microsoft-windows-terminal package is downgraded

Current Behavior

> choco install microsoft-windows-terminal -y --force --version 1.17.11461.0
Chocolatey v2.2.2
Installing the following packages:
microsoft-windows-terminal
By installing, you accept licenses for the packages.
Progress: Downloading microsoft-windows-terminal 1.17.11461.0... 100%

microsoft-windows-terminal v1.17.11461 (forced) [Approved]
microsoft-windows-terminal package files install completed. Performing other installation steps.
WARNING: The installed 1.17.11461.0 version is newer than this package version, it may have autoupdated on your current OS...
ERROR: Cannot create a file when that file already exists.

The install 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 installed 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.

Steps to Reproduce (for bugs)

  1. choco install microsoft-windows-terminal
  2. choco install microsoft-windows-terminal -y --force --version 1.17.11461.0

Your Environment

  • Package Version used: First step installs 1.18.2681.0
  • Operating System and version: Windows 10 22H2
  • Chocolatey version: 2.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant