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
connecting via ssh to a machine and running the "winget source update" command the winget source (and other sources using the "source.msix" package) is not updated.
( as in screenshot )
Fatto = Done
Annullato = Canceled
every now and then the message "done" comes out but in any case the source is not updated (by relaunching the command the loading bar reappears)
if the same command is run locally, everything works.
however, I made a powershell script that downloads the "source.msix" packages one by one and installs them; the workaround also works via ssh and by re-running the "winget source update" command the packages are detected as updated.
the script should also work in multiple languages but since it relies on a regex to find some data and i only tested it in italian, give me some feedback....
( by the way, sorry but the comments are in Italian... )
Steps to reproduce
PC 1:
install OpenSSH
install / update winget ( 1.5.1881 / 1.6.1573-preview i tried both )
PC 2:
connect via ssh to PC 1 ( ssh admin@192.168.XXX.XXX )
run the command "winget source update"
(warning: if there are no packages to update, everything seems to work but simply because it is not installing any ".msix")
Expected behavior
that the sources are updated correctly
Actual behavior
the "source.msix" sources are detected to be updated but are not installed
Environment
PC 1 (as in the example):
Gestione pacchetti Windows v1.5.1881
Copyright (c) Microsoft Corporation. Tutti i diritti sono riservati.
Windows: Windows.Desktop v10.0.19045.3271
Architettura di sistema: X64
Pacchetto: Microsoft.DesktopAppInstaller v1.20.1881.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
Collegamenti
------------------------------------------------------------------------------------
Informativa sulla privacy https://aka.ms/winget-privacy
Contratto di licenza https://aka.ms/winget-license
Comunicazioni di terze parti https://aka.ms/winget-3rdPartyNotice
Home page https://aka.ms/winget
Condizioni di Windows Store https://www.microsoft.com/en-us/storedocs/terms-of-sale
Impostazione amministrazione Stato
------------------------------------------------------
LocalManifestFiles Disabilitate
BypassCertificatePinningForMicrosoftStore Disabilitate
InstallerHashOverride Disabilitate
LocalArchiveMalwareScanOverride Disabilitate
The text was updated successfully, but these errors were encountered:
WinGet currently doesn't work via SSH. This is most likely an outcome of the App Installer being installed as an MSIX package and the differences between the "account" a user is connecting to when they use SSH.
We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution!
Brief description of your issue
connecting via ssh to a machine and running the "winget source update" command the winget source (and other sources using the "source.msix" package) is not updated.
![image](https://private-user-images.githubusercontent.com/1337415/256514388-68195e9e-eca6-42ed-b630-b26e05857b41.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjkzMTEsIm5iZiI6MTczOTAyOTAxMSwicGF0aCI6Ii8xMzM3NDE1LzI1NjUxNDM4OC02ODE5NWU5ZS1lY2E2LTQyZWQtYjYzMC1iMjZlMDU4NTdiNDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMTUzNjUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmIzZGFkODQ4NjU3N2JhYjJjYmQwM2ZmZmU5ZDI3NTZmYzIxZGRmNmVmYjIzYWI1NTRiNzZmYzE3YjkyMWNlZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.q5rx3UoGaRa09bDrir-ingdG71wbAThRVkWSzssMTgE)
( as in screenshot )
Fatto = Done
Annullato = Canceled
every now and then the message "done" comes out but in any case the source is not updated (by relaunching the command the loading bar reappears)
if the same command is run locally, everything works.
I attach the winget log:
WinGet-2023-07-27-14-54-26.620.log
however, I made a powershell script that downloads the "source.msix" packages one by one and installs them; the workaround also works via ssh and by re-running the "winget source update" command the packages are detected as updated.
updateWingetSources.ps1.txt
the script should also work in multiple languages but since it relies on a regex to find some data and i only tested it in italian, give me some feedback....
( by the way, sorry but the comments are in Italian... )
Steps to reproduce
PC 1:
install OpenSSH
install / update winget ( 1.5.1881 / 1.6.1573-preview i tried both )
PC 2:
connect via ssh to PC 1 ( ssh admin@192.168.XXX.XXX )
run the command "winget source update"
(warning: if there are no packages to update, everything seems to work but simply because it is not installing any ".msix")
Expected behavior
that the sources are updated correctly
Actual behavior
the "source.msix" sources are detected to be updated but are not installed
![image](https://private-user-images.githubusercontent.com/1337415/256514388-68195e9e-eca6-42ed-b630-b26e05857b41.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjkzMTEsIm5iZiI6MTczOTAyOTAxMSwicGF0aCI6Ii8xMzM3NDE1LzI1NjUxNDM4OC02ODE5NWU5ZS1lY2E2LTQyZWQtYjYzMC1iMjZlMDU4NTdiNDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMTUzNjUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmIzZGFkODQ4NjU3N2JhYjJjYmQwM2ZmZmU5ZDI3NTZmYzIxZGRmNmVmYjIzYWI1NTRiNzZmYzE3YjkyMWNlZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.q5rx3UoGaRa09bDrir-ingdG71wbAThRVkWSzssMTgE)
Environment
The text was updated successfully, but these errors were encountered: