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

Winget missing all output #1633

Closed
BraINstinct0 opened this issue Oct 23, 2021 · 2 comments
Closed

Winget missing all output #1633

BraINstinct0 opened this issue Oct 23, 2021 · 2 comments
Milestone

Comments

@BraINstinct0
Copy link

Brief description of your issue

No output is shown from winget.

Steps to reproduce

Don't know; it happened suddenly.

Expected behavior

All the expected output shows.

Actual behavior

Running winget shows nothing.
running winget upgrade takes the expected time, but shows nothing.
winget upgrade <invalid_package> gives 'error' type output, but no real output.

Environment

Don't know version since it doesn't output anything
@ghost ghost added the Needs-Triage Issue need to be triaged label Oct 23, 2021
@BraINstinct0
Copy link
Author

BraINstinct0 commented Oct 24, 2021

BTW I missed to mention that I'm using Powershell 7.1.5.
However, This also happens in Windows Powershell.

The first Get-AppxPackage -Name Microsoft.DesktopAppInstaller result is as below:

Get-AppxPackage: The 'Get-AppxPackage' command was found in the module 'Appx', but the module could not be loaded. For more information, run 'Import-Module Appx'.

After that, I tried the repair:
same result as above.

Running it in the Windows Powershell shows same result; Fix shows some reset notification...then closes.
\(〇_o)/

Additional info: Seems related to PowerShell/PowerShell#13138.
Similar behavior as in #1426.
Trying loading Get-AppxPackage from windows powershell and doing the fix doesn't change anything(which would be the same as doing it from Windows Powershell directly).
p is user directory

p> winget                                                                 
p> Get-AppxPackage -Name Microsoft.DesktopAppInstaller | Reset-AppxPackage
p> winget                                                                 
p>                                                                        

@BraINstinct0
Copy link
Author

Welp, found the culprit : https://github.com/valinet/ExplorerPatcher .
This 'patcher' involves (IIRC) on-the-fly/live patching of windows system-related dll's.
Some of its routines must have been interfering with it in some way; works normally after removing it.
Closing as solved...

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

2 participants