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

apps version not correctly getted? #4381

Open
Mrgaton opened this issue Apr 15, 2024 · 16 comments
Open

apps version not correctly getted? #4381

Mrgaton opened this issue Apr 15, 2024 · 16 comments
Labels
Command-Upgrade Issue related to WinGet Upgrade Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@Mrgaton
Copy link

Mrgaton commented Apr 15, 2024

Brief description of your issue

when i run winget update --all and update the first app and ten stoping the process when i run the command again it downloads and reinstalls the already "updated" app

Steps to reproduce

run winget update --all and stop it before it ends

Expected behavior

not to reupdate already updated apps

Actual behavior

work

Environment

Administrador de paquetes de Windows v1.7.10861
Copyright (c) Microsoft Corporation. Todos los derechos reservados.

Windows: Windows.Desktop v10.0.19045.4291
Arquitectura del sistema: X64
Paquete: Microsoft.DesktopAppInstaller v1.22.10861.0

Directorios de WinGet
-----------------------------------------------------------------------------------------------------------------------
Registros                                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalS…
Configuración de usuario                    %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalS…
Directorio de vínculos portátiles (usuario) %LOCALAPPDATA%\Microsoft\WinGet\Links
Directorio de vínculos portátiles (equipo)  C:\Program Files\WinGet\Links
Raíz de paquete portátil (usuario)          %LOCALAPPDATA%\Microsoft\WinGet\Packages
Raíz de paquete portátil                    C:\Program Files\WinGet\Packages
Raíz de paquete portátil (x86)              C:\Program Files (x86)\WinGet\Packages
Descargas del instalador                    %USERPROFILE%\Downloads

Vínculos
-----------------------------------------------------------------------------------
Declaración de privacidad   https://aka.ms/winget-privacy
Contrato de licencia        https://aka.ms/winget-license
Avisos de terceros          https://aka.ms/winget-3rdPartyNotice
Página principal            https://aka.ms/winget
Términos de Microsoft Store https://www.microsoft.com/en-us/storedocs/terms-of-sale

Configuración de administrador            Estado
-------------------------------------------------------
LocalManifestFiles                        Deshabilitado
BypassCertificatePinningForMicrosoftStore Deshabilitado
InstallerHashOverride                     Deshabilitado
LocalArchiveMalwareScanOverride           Deshabilitado
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Apr 15, 2024
@Mrgaton
Copy link
Author

Mrgaton commented Apr 15, 2024

image

For example that version of visual studio i already have it installed

@Mrgaton
Copy link
Author

Mrgaton commented Apr 15, 2024

and same as other ones

@denelon
Copy link
Contributor

denelon commented Apr 15, 2024

What is the output from "winget list"? Do you have more than one version of Visual Studio installed?

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage Issue need to be triaged label Apr 15, 2024
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. Command-Upgrade Issue related to WinGet Upgrade Needs-Author-Feedback Issue needs attention from issue or PR author labels Apr 15, 2024
@Mrgaton
Copy link
Author

Mrgaton commented Apr 15, 2024

image

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Apr 15, 2024
@Mrgaton
Copy link
Author

Mrgaton commented Apr 15, 2024

Here is the list: winget list list.txt

@denelon denelon removed the Needs-Attention Issue needs attention from Microsoft label Apr 15, 2024
@Mrgaton
Copy link
Author

Mrgaton commented Apr 16, 2024

So whats the problem?

@denelon
Copy link
Contributor

denelon commented Apr 16, 2024

I'm not sure. Was there a "shield" icon in the taskbar requesting UAC approval?
Can you run the command again with "--verbose-logs --logs" and share the log file output?
winget upgrade --all --verbose-logs --logs

@denelon denelon added the Needs-Author-Feedback Issue needs attention from issue or PR author label Apr 16, 2024
@Mrgaton
Copy link
Author

Mrgaton commented Apr 16, 2024

I have uac disabled so nothing pop up

Tomorrow will show the output of that command

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Apr 16, 2024
@Mrgaton
Copy link
Author

Mrgaton commented Apr 17, 2024

WinGet-2024-04-17-15-52-54.123.log

(___/ C:\Users\Mrgaton>winget upgrade --all --verbose-logs --logs
Name Id Version Available Origin


Visual Studio Community 2022 Microsoft.VisualStudio.2022.Community 17.7.3 17.9.1 winget
Google Chrome Canary Google.Chrome.Canary 125.0.6420.0 125.0.6421.0 winget
IDA Freeware 8.2 Hex-Rays.IDA.Free 8.2 8.4 winget
Parsec Parsec.Parsec 150-88a 150-92a winget
Virtual Desktop Streamer VirtualDesktop.Streamer 1.30.1 1.30.5 winget
Logitech G HUB Logitech.GHUB 2023.9.473951 2024.2.4136 winget
NVIDIA CUDA Toolkit 12.4 Nvidia.CUDA > 12.3.2 12.4.1 winget
Epic Games Launcher EpicGames.EpicGamesLauncher 1.3.82.0 1.3.93.0 winget
9 updates available.

The following packages have an update available, but require an explicit target for the update:
Name Id Version Available Origin

Discord Discord.Discord 1.0.9035 1.0.9040 winget
2 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.

(1/5) Found Visual Studio Community 2022 [Microsoft.VisualStudio.2022.Community] Version 17.9.1
A license is granted to you by the owner of this application.
Microsoft is not responsible for, nor does it grant any license to, third-party packages.
Descargando https://download.visualstudio.microsoft.com/download/pr/63fee7e3-bede-41ad-97a2-97b8b9f535d1/26d25ab6417a061f392e4a679d5662abc348423a52febcad809e4075e38852e8/vs_Community.exe
██████████████████████████████3.80 MB
Installer hash verified successfully
Starting package installation...
Installed correctly

(2/5) Found Google Chrome Canary [Google.Chrome.Canary] Version 125.0.6421.0
A license is granted to you by the owner of this application.
Microsoft is not responsible for, nor does it grant any license to, third-party packages.
Downloading https://dl.google.com/release2/chrome/acpiszcj46szac2mlnswpd6oa3wq_125.0.6421.0/125.0.6421.0_chrome_installer.exe
107 MB / 107 MB
Installer hash verified successfully
Starting package installation...
Installed correctly

(3/5) Found IDA Freeware [Hex-Rays.IDA.Free] Version 8.4
A license is granted to you by the owner of this application.
Microsoft is not responsible for, nor does it grant any license to, third-party packages.
Downloading https://out7.hex-rays.com/files/idafree84_windows.exe
███████████████████████████104 MB
Installer hash verified successfully
Starting package installation...
Installed correctly

(4/5) Found Parsec [Parsec.Parsec] Version 150-92a
A license is granted to you by the owner of this application.
Microsoft is not responsible for, nor does it grant any license to, third-party packages.
Downloading https://builds.parsec.app/package/parsec-windows.exe
██████████████████████████████3.86 MB
The installer hash does not match; this cannot be overwritten when running as administrator

(5/5) Found Logitech G HUB [Logitech.GHUB] Version 2024.2.4136
A license is granted to you by the owner of this application.
Microsoft is not responsible for, nor does it grant any license to, third-party packages.
Downloading https://download01.logi.com/web/ftp/pub/techsupport/gaming/lghub_installer.exe
██████████████████████████████39.8 MB
Installer hash verified successfully
Starting package installation...
Installed correctly

22 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.
1 packages are pinned and must be updated explicitly.

@Mrgaton
Copy link
Author

Mrgaton commented Apr 17, 2024

And if i run it again it marks as not installed

image

@denelon denelon removed the Needs-Attention Issue needs attention from Microsoft label Apr 17, 2024
@Mrgaton
Copy link
Author

Mrgaton commented May 31, 2024

same as this one #2817

@Firehawke
Copy link

This just hit me with a couple of packages. Here's an included session:

╭─    ~                                                                                                                                           3.827s     06:11:32  ─╮
╰─ sudo winget upgrade --all --verbose-logs --logs                                                                                                                                 ─╯
Name                   Id                  Version    Available  Source
-----------------------------------------------------------------------
Kodi                   XBMCFoundation.Kodi 20.5.0.0   21.0.0.0   winget
yt-dlp                 yt-dlp.yt-dlp       2024.05.27 2024.08.06 winget
Python 3.12.4 (64-bit) Python.Python.3.12  3.12.4     3.12.5     winget
5 upgrades available.

The following packages have an upgrade available, but require explicit targeting for upgrade:
Name                      Id                    Version  Available Source
-------------------------------------------------------------------------
Chocolatey (Install Only) Chocolatey.Chocolatey 2.2.2.0  2.3.0.0   winget
Discord                   Discord.Discord       1.0.9035 1.0.9157  winget
2 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.
1 package(s) have pins that prevent upgrade. Use the 'winget pin' command to view and edit pins. Using the --include-pinned argument may show more results.

Installing dependencies:
This package requires the following dependencies:
  - Packages
      Gyan.FFmpeg
(1/2) Found yt-dlp [yt-dlp.yt-dlp] Version 2024.08.06
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
(1/1) Found FFmpeg [Gyan.FFmpeg] Version 7.0.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
╭─    ~                                                                                                                                      16.922s   ERROR  06:12:43  ─╮
╰─ sudo winget upgrade --all --verbose-logs --logs                                                                                                                                 ─╯
Name                   Id                  Version    Available  Source
-----------------------------------------------------------------------
Kodi                   XBMCFoundation.Kodi 20.5.0.0   21.0.0.0   winget
yt-dlp                 yt-dlp.yt-dlp       2024.05.27 2024.08.06 winget
Python 3.12.4 (64-bit) Python.Python.3.12  3.12.4     3.12.5     winget
5 upgrades available.

The following packages have an upgrade available, but require explicit targeting for upgrade:
Name                      Id                    Version  Available Source
-------------------------------------------------------------------------
Chocolatey (Install Only) Chocolatey.Chocolatey 2.2.2.0  2.3.0.0   winget
Discord                   Discord.Discord       1.0.9035 1.0.9157  winget
2 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.
1 package(s) have pins that prevent upgrade. Use the 'winget pin' command to view and edit pins. Using the --include-pinned argument may show more results.

Installing dependencies:
This package requires the following dependencies:
  - Packages
      Gyan.FFmpeg
(1/2) Found yt-dlp [yt-dlp.yt-dlp] Version 2024.08.06
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
(1/1) Found FFmpeg [Gyan.FFmpeg] Version 7.0.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Extracting archive...
Successfully extracted archive

As you can see, it says I need to update the packages and does so.. I run it a second time and it STILL thinks it needs to update those packages and re-updates them again. Running any of them will confirm they've already been updated.

@Mrgaton
Copy link
Author

Mrgaton commented Aug 8, 2024

wich version of winget do you have @Firehawke ?

@Firehawke
Copy link

Apologies for delayed response, was sick the last week or so.

Winget --version reports.. v1.9.2151-preview

@schbrns
Copy link

schbrns commented Aug 22, 2024

Name                         Id                     Version  Available Source
-----------------------------------------------------------------------------
VLC media player             VideoLAN.VLC           3.0.20.0 3.0.21    winget
ADB AppControl version 1.8.3 CyberCat.ADBAppControl 1.8.3    1.8.5     winget
WinDirStat 1.1.2             WinDirStat.WinDirStat  Unknown  1.1.2     winget
4 upgrades available.

The following packages have an upgrade available, but require explicit targeting for upgrade:
Name    Id              Version  Available Source
-------------------------------------------------
Discord Discord.Discord 1.0.9034 1.0.9158  winget
1 package(s) are pinned and need to be explicitly upgraded.

ADB AppControl, WinDirStat and Discord have always been issues.
VLC seems like a new one.

@schbrns
Copy link

schbrns commented Aug 22, 2024

VLC version was getted properly, issue was something else. VLC program wasn't picking up the 3.0.21 update that was available on the website. Upgraded the exe over it and it's good now.

Does winget utilize the software's auto-update or is this more of a repository type deal? Wondering why both VLC and winget weren't picking up the same VLC udpate.

WinDirStat "unknown" goes away without the --include-unknown.

ADB AppControl and Discord are the only real problems, maybe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-Upgrade Issue related to WinGet Upgrade Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

4 participants