You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I should start by saying that I am not entirely surprised by this but trying to install an application with a installer requiring interaction (such as WinSCP) over an SSH connection just results in the installation hanging at Installing....
Steps to reproduce
SSH into a machine with winget installed (note I am SSHing into an admin account and thus the prompt is elevated.
Try to install (for example) WinSCP with winget install winwcp
Expected behavior
I guess winget should detect the installer is hanging and kill it providing some useful feedback.
Actual behavior
Installation just hangs at Installing...
Cancelling the install with ctrl+c and running get-process -name winscp* shows two process running:
RDPing into the machine and trying to install the same way gives a file access error (presumably due to these processes).
Killing these processes allows the command to work when run locally via RDP and the installer window pops up asking to install for all users or not.
I haven't tried with a X11 server running to see if I can catch the GUI
Environment
[winget --info]
Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.18363.836
Package: Microsoft.DesktopAppInstaller v1.0.41331.0
Any other software?
The text was updated successfully, but these errors were encountered:
Brief description of your issue
I should start by saying that I am not entirely surprised by this but trying to install an application with a installer requiring interaction (such as WinSCP) over an SSH connection just results in the installation hanging at
Installing...
.Steps to reproduce
winget install winwcp
Expected behavior
I guess winget should detect the installer is hanging and kill it providing some useful feedback.
Actual behavior
Installation just hangs at
Installing...
Cancelling the install with
ctrl+c
and runningget-process -name winscp*
shows two process running:RDPing into the machine and trying to install the same way gives a file access error (presumably due to these processes).
Killing these processes allows the command to work when run locally via RDP and the installer window pops up asking to install for all users or not.
I haven't tried with a X11 server running to see if I can catch the GUI
Environment
The text was updated successfully, but these errors were encountered: