Repository navigation
Closed
Labels
Command-InstallIssue related to WinGet InstallIssue-BugIt either shouldn't be doing this or needs an investigation.Side-by-SideIssue related to side by side package installation
Milestone
Description
Brief description of your issue
I can't install Powershell update.
Steps to reproduce
winget install --id Microsoft.Powershell --source winget
Found an existing package already installed. Trying to upgrade the installed package...
A newer version was found, but the install technology is different from the current version installed. Please uninstall the package and install the newer version.
Expected behavior
I expect it to work.
Actual behavior
It doesn't work.
Environment
Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.3085
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.0
Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride DisabledReacted by dperez83
Metadata
Metadata
Assignees
Labels
Command-InstallIssue related to WinGet InstallIssue-BugIt either shouldn't be doing this or needs an investigation.Side-by-SideIssue related to side by side package installation
Activity
mdanish-kh commentedon Feb 5, 2024
See #4140 (comment)
[Policy] Side-by-Side
denelon commentedon Jul 3, 2024
If you wish to have both versions installed you can use the "--force" option to install the other version as a "side-by-side" installation.