microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.72k stars 1.41k forks source link

Cannot Uninstall MiKTeX #1711

Closed keenbowl3009 closed 2 years ago

keenbowl3009 commented 2 years ago

Brief description of your issue

Cannot uninstall the package using the package Id.

Steps to reproduce

winget install ChristianSchenk.MiKTeX winget uninstall ChristianSchenk.MiKTeX

Expected behavior

The system should return exactly to the state it was if miktex was not installed.

Actual behavior

When trying to uninstall, I get: No installed package found matching input criteria.

Environment

Windows: Windows.Desktop v10.0.22000.318
Package: Microsoft.DesktopAppInstaller v1.16.12663.0

Edited: Off topic comments removed.

jthoward64 commented 2 years ago

What is the output of winget list I'm not encouraging this guy

keenbowl3009 commented 2 years ago

What is the output of winget list

the output of winget list includes MiKTeX.

keenbowl3009 commented 2 years ago

The output of winget uninstall ChristianSchenk.MiKTeX is:

No installed package found matching input criteria.

keenbowl3009 commented 2 years ago

It's great to know that winget provides the assurance that all packages that were installed with it can be easily uninstalled.

Winget as a whole is the pinnacle of microsoft software representativeness:

does not fix the problems, but will likely make them worse.

keenbowl3009 commented 2 years ago

by the way, scoop was literally created to enable portable apps because the community goes out of its way to make sure that installing something through scoop will not permanently break your system, and that scoop packages will just work with each other.

Winget goes out of it's way to not do anything, and to make sure that microsoft will not do anything to help you as well.

JanPokorny commented 2 years ago

I was able to reproduce. MiKTeX has wrong id after installation:

image

image

It needs to be uninstalled with winget uninstall MiKTeX: image

Masamune3210 commented 2 years ago

Manifest probably has incorrect productid or they changed it recently as I think that is what winget uses currently to detect known installed applications

jedieaston commented 2 years ago

This will most likely be resolved by https://github.com/microsoft/winget-pkgs/pull/34983. Once it merges you should be good to go.

martinmine commented 2 years ago

winget is literally the worst possible package manager that the community could adopt.

Your attempt at shitposting in order to let out your frustration will not be any helpful for improving this software. Your issues might even get deleted as they clearly violate the code of conduct. If winget upsets you that much you create a github account specifically to troll on this repo, I seriously recommend you that you just use Scoop as that is a much better usage of your time.

JanPokorny commented 2 years ago

@martinmine The issue is actually real. The autor probably isn't, tho.

martinmine commented 2 years ago

@JanPokorny Sure, but the tone and content isn't constructive and is only helpful for OP to let out their frustration. This is counter-productive and if people actually have this issue, now there is the risk it might even get deleted.

denelon commented 2 years ago

PR merged. Once it's been published, this should be resolved.

JanPokorny commented 2 years ago

I feel sorry for Microsoft open source maintainers that have to deal with this sort of crazy...

denelon commented 2 years ago

@JanPokorny it comes with the territory. People have a long memory. It's going to take even longer to demonstrate how much we care about open source. I understand the frustration here. As long as it's not directed towards an individual, it's better to let people vent in most cases. There are also several different perspectives on the "right" approach when there are many right approaches.

Most of the community has been very supportive which makes it easier to want to build a better product and be honest about failures and gaps. There is a massive body of work in the world of Linux package management where everything is a file. Things are far more complex when dealing with third party installers and decades of inertia. It's an exciting time to be at Microsoft and have the opportunity to be open about what we're building, and get the customer feedback early and often.

Thank you for your support 😊