Open emversch opened 9 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
This issue is common when upgrading a package for the first time, if the installer type in the manifest isn't the same as what's installed. The root is that it's a bad idea to install with one technology (such as MSI) and then uninstall through another (such as Inno).
The solution here is to manually uninstall the software, then reinstall using the WinGet package manager. I thought there was an Issue to automate the manual uninstall, but I can't find it now.
I understand that, but windows does not let me uninstall Edge
I understand that, but windows does not let me uninstall Edge
It did let me uninstall it in my case - after I force-installed the winget source version of Edge side-by-side w/ the previous version:
> winget install Microsoft.Edge --force
After that, I could uninstall the older msstore source version of Edge:
> winget uninstall Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe
This is what has worked for me. Now winget only lists one Edge version on my system - the newer one from the winget community repo.
My case is lil' bit different though because I was switching my Edge installation from msstore -> winget. Since you report your current Edge version is 121.x which hasn't landed in msstore yet, I guess you have rather a problem w/ updating Edge from one winget source version to another one and not from a msstore source version to a winget one.
But by the same analogy, since essentially force-installing the newer version side-by-side makes the older version uninstallation possible, could you try force-installing the newest version specifying the exact version w/ the -v,--version option instead of updating, and then uninstalling the older version, again specifying the exact version w/ the same option?
I understand that, but windows does not let me uninstall Edge
It did let me uninstall it in my case - after I force-installed the winget source version of Edge side-by-side w/ the previous version:
> winget install Microsoft.Edge --force
After that, I could uninstall the older msstore source version of Edge:
> winget uninstall Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe
This is what has worked for me. Now winget only lists one Edge version on my system - the newer one from the winget community repo.
My case is lil' bit different though because I was switching my Edge installation from msstore -> winget. Since you report your current Edge version is 121.x which hasn't landed in msstore yet, I guess you have rather a problem w/ updating Edge from one winget source version to another one and not from a msstore source version to a winget one.
But by the same analogy, since essentially force-installing the newer version side-by-side makes the older version uninstallation possible, could you try force-installing the newest version specifying the exact version w/ the -v,--version option instead of updating, and then uninstalling the older version, again specifying the exact version w/ the same option?
Similar situation here - I was unable to update Edge from an older Winget version to a newer Winget version. I force installed - and the older version just magically disappeared. Winget and Wingetui report that there are no updates to install, I have the latest versions. Thanks for the tip, I'm no longer banging my head on the desk.
i could never upate Microsoft.Edge with winget. i always open edge, click on three dots, help and feedback, info
it's literally impossible to upgrade cmd => winget upgrade Microsoft.Edge
Brief description of your issue
however I cannot uninstall Microsoft Edge to circumvent this error
Steps to reproduce
update Microsoft.Edge
Expected behavior
update Microsoft Edge to the latest version
Actual behavior
Microsoft Edge cannot update
Environment