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 upgrade SURF.eduVPNClient never really worked #4373

Open
hueldoeu opened this issue Apr 12, 2024 · 5 comments · Fixed by microsoft/winget-pkgs#149347
Open

winget upgrade SURF.eduVPNClient never really worked #4373

hueldoeu opened this issue Apr 12, 2024 · 5 comments · Fixed by microsoft/winget-pkgs#149347

Comments

@hueldoeu
Copy link

Brief description of your issue

winget upgrade SURF.eduVPNClient never really worked

Amebis/eduVPN#241

Steps to reproduce

cmd => winget upgrade SURF.eduVPNClient

Expected behavior

cmd => winget upgrade SURF.eduVPNClient and eduVPN gets updates

Actual behavior

cmd => winget upgrade SURF.eduVPNClient and an error appears

Environment

Windows-Paket-Manager v1.7.10861
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.19045.4291
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.22.10861.0

WinGet-Verzeichnisse
-----------------------------------------------------------------------------------------------------------------------
Protokolle                                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Local…
Benutzereinstellungen                        %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Local…
Verzeichnis für portierbare Links (Benutzer) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portables Linkverzeichnis (Computer)         C:\Program Files\WinGet\Links
Portierbarer Paketstamm (Benutzer)           %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portierbarer Paketstamm                      C:\Program Files\WinGet\Packages
Portierbares Paketstamm (x86)                C:\Program Files (x86)\WinGet\Packages
Installationsprogrammdownloads               %USERPROFILE%\Downloads

Links
-----------------------------------------------------------------------------------------
Datenschutzerklärung              https://aka.ms/winget-privacy
Lizenzvereinbarung                https://aka.ms/winget-license
Hinweise von Drittanbietern       https://aka.ms/winget-3rdPartyNotice
Startseite                        https://aka.ms/winget
Windows Store-Nutzungsbedingungen https://www.microsoft.com/en-us/storedocs/terms-of-sale

Administratoreinstellung                  Status
-----------------------------------------------------
LocalManifestFiles                        Deaktiviert
BypassCertificatePinningForMicrosoftStore Deaktiviert
InstallerHashOverride                     Deaktiviert
LocalArchiveMalwareScanOverride           Deaktiviert
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Apr 12, 2024
@Trenly
Copy link
Contributor

Trenly commented Apr 12, 2024

Can you share the exact error you're getting? When I try, it upgrades just fine

PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> winget upgrade
Name                       Id                Version  Available
---------------------------------------------------------------
eduVPN Client 3.255.17 x64 SURF.eduVPNClient 3.255.17 3.255.18
1 upgrades available.
PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> winget upgrade SURF.eduVPNClient
Found eduVPN Client [SURF.eduVPNClient] Version 3.255.18
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/Amebis/eduVPN/releases/download/3.255.18/eduVPNClient_3.255.18_x64.msi
  ██████████████████████████████  11.5 MB / 11.5 MB
Successfully verified installer hash
Starting package install...
Successfully installed
PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> winget upgrade
No installed package found matching input criteria.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage Issue need to be triaged label Apr 12, 2024
@hueldoeu
Copy link
Author

Kein anwendbares Upgrade gefunden. Eine neuere Paketversion ist in einer konfigurierten Quelle verfügbar, aber sie gilt nicht für Ihr System oder Ihre Anforderungen.
Amebis/eduVPN#241

@Trenly
Copy link
Contributor

Trenly commented Apr 12, 2024

No applicable upgrade found. A newer package version is available in a configured source, but it does not apply to your system or requirements. Amebis/eduVPN#241

Do you have a setting for preferring certain installer types in WinGet? Any Group Policies that could be affecting it?

The easiest way to diagnose the issue is if you can share the log file from winget upgrade SURF.eduVPNClient --verbose --logs

@hueldoeu
Copy link
Author

my windows installation is a bit weird like i don't have 7-zip in the context menu and i had lots of problems with libreoffice templates (i solved it in the registry https://www.libreoffice-forum.de/viewtopic.php?f=2&t=38690&p=107122#p107122 ). i also konw a laptop with windows 7, which can't get upgraded to windows 10 and it has a very strang GPO settings. i think i've also strange GPO (group policy objects)

i will wait for the next release and try cmd => winget upgrade SURF.eduVPNClient --verbose --logs

WinGet-2024-04-13-00-43-05.515.log

@rozmansi
Copy link

I am not an expert in winget, so I may be completely wrong...

The end of your log file says:

2024-04-13 00:43:10.010 [CLI ] Search result size: 1
2024-04-13 00:43:10.011 [CLI ] Found one app. App id: SURF.eduVPNClient App name: eduVPN Client
2024-04-13 00:43:10.011 [CLI ] Market Filter created with market: DE
2024-04-13 00:43:10.011 [CLI ] Locale Comparator created with Required Locales: [] , Preferred Locales: [de-DE] , IsInstalledLocale: 1

SURF.eduVPNClient is authored as en-US. Hopefully, you using de-DE locale is not preventing winget from installing this MSI.

2024-04-13 00:43:10.011 [CLI ] Architecture Comparator created with allowed architectures: [X64, X86, Neutral]
2024-04-13 00:43:10.018 [REPO] Attempting to open pinning database: C:\Users\Nutzer\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-04-13 00:43:10.019 [REPO] ... opening existing pinning database
2024-04-13 00:43:10.019 [REPO] Opening database for Read at 'C:\Users\Nutzer\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db'
2024-04-13 00:43:10.019 [REPO] Opened Pinning Index with version [1.0], last write [2023-07-06 11:26:46.000]
2024-04-13 00:43:10.019 [REPO] Did not find pin Package=[{6CA364B8-497D-442A-B500-95C8765687D9}] Source=[*PredefinedInstalledSource]

It appears as if you have some specific version of the application pinned in winget. (https://learn.microsoft.com/en-us/windows/package-manager/winget/pinning)

2024-04-13 00:43:10.032 [CLI ] Terminating context: 0x8a15002b at C:__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\UpdateFlow.cpp:bc

rozmansi added a commit to Amebis/eduVPN that referenced this issue May 7, 2024
If we specify MSI language is en-US (which actually it is not), German
Windows won't install/update eduVPN Client.

Let's see if this resolves the problem in future updates.

Reference: microsoft/winget-cli#4373
Reference: microsoft/winget-pkgs#149347
Fixes: #241
Signed-off-by: Simon Rozman <simon@rozman.si>
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

Successfully merging a pull request may close this issue.

3 participants