microsoft / microsoft/winget-pkgs

[Package Issue]: Hugo.Hugo.Extended

Open
#167,845 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Help-Wanted Issue-Bug
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
376

Description

Please confirm these before moving forward
  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue

Installation issue.

Brief description of your issue

I am unable to upgrade hugo with winget upgrade, but I can install the latest version with winget install.

Steps to reproduce

With hugo 0.132.1 installed, I ran the winget upgrade command and got the following result:

> winget upgrade Hugo.Hugo.Extended
No installed package found matching input criteria.

So I ran winget install instead, which "upgraded" to 0.132.2:

> winget install Hugo.Hugo.Extended
Found Hugo (Extended) [Hugo.Hugo.Extended] Version 0.132.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.
Downloading https://github.com/gohugoio/hugo/releases/download/v0.132.2/hugo_extended_0.132.2_windows-amd64.zip
  ██████████████████████████████  24.2 MB / 24.2 MB
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "hugo"
Successfully installed

Which I verified with hugo version:

> hugo version
hugo v0.132.2-3fd26c70dff5934ec1802b9563530130ed1bca75+extended windows/amd64 BuildDate=2024-08-14T16:17:21Z VendorInfo=gohugoio
Actual behavior

winget upgrade Hugo.Hugo.Extended does not upgrade hugo to the latest version. Instead it reports a message:

No installed package found matching input criteria.
Expected behavior

winget upgrade Hugo.Hugo.Extended should upgrade hugo to the latest version.

Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.4037
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
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
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled
Screenshots and Logs
2024-08-15 07:14:59.018 [CORE] WinGet, version [1.8.1911], activity [{D6EF640A-E2E7-4F14-95CD-3EFE97218E23}]
2024-08-15 07:14:59.018 [CORE] OS: Windows.Desktop v10.0.22631.4037
2024-08-15 07:14:59.018 [CORE] Command line Args: "C:\Users\Jon\AppData\Local\Microsoft\WindowsApps\winget.exe" upgrade Hugo.Hugo.Extended
2024-08-15 07:14:59.018 [CORE] Package: Microsoft.DesktopAppInstaller v1.23.1911.0
2024-08-15 07:14:59.018 [CORE] IsCOMCall:0; Caller: winget-cli
2024-08-15 07:14:59.028 [CLI ] WinGet invoked with arguments: 'upgrade' 'Hugo.Hugo.Extended'
2024-08-15 07:14:59.028 [CLI ] Found subcommand: upgrade
2024-08-15 07:14:59.028 [CLI ] Leaf command to execute: root:upgrade
2024-08-15 07:14:59.033 [CLI ] Executing command: upgrade
2024-08-15 07:14:59.042 [REPO] Default source requested, multiple sources available, adding all to source references.
2024-08-15 07:14:59.042 [REPO] Adding to source references msstore
2024-08-15 07:14:59.042 [CORE] Default proxy is not set
2024-08-15 07:14:59.042 [REPO] REST HTTP Client helper does not use proxy
2024-08-15 07:14:59.042 [REPO] Adding to source references winget
2024-08-15 07:14:59.043 [CLI ] Created authentication arguments. Mode: silentPreferred, Account: 
2024-08-15 07:14:59.053 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-08-15 07:14:59.053 [CORE] Found matching extension.
2024-08-15 07:14:59.057 [REPO] Multiple sources available, creating aggregated source.
2024-08-15 07:14:59.057 [REPO] Adding to aggregated source: msstore
2024-08-15 07:14:59.058 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-15 07:14:59.238 [REPO] Response status: 200
2024-08-15 07:14:59.238 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-15 07:14:59.238 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-15 07:14:59.317 [REPO] Response status: 200
2024-08-15 07:14:59.318 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-15 07:14:59.318 [REPO] Adding to aggregated source: winget
2024-08-15 07:14:59.333 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-08-15 07:14:59.333 [CORE] Found matching extension.
2024-08-15 07:14:59.381 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.814.2321.46_neutral__8wekyb3d8bbwe\Public\index.db'
2024-08-15 07:14:59.382 [REPO] Opened SQLite Index with version [2.0], last write [2024-08-14 15:19:36.000]
2024-08-15 07:14:59.688 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-08-15 07:14:59.700 [REPO] Reading MSI UpgradeCodes
2024-08-15 07:14:59.972 [REPO] Reading MSI UpgradeCodes
2024-08-15 07:15:00.867 [REPO] Opening database for ReadWrite at 'C:\Users\Jon\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-08-15 07:15:00.869 [REPO] Opened SQLite Index with version [1.3], last write [2022-04-26 08:17:49.000]
2024-08-15 07:15:00.957 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2024-08-15 07:15:01.127 [REPO] Response status: 200
2024-08-15 07:15:01.140 [REPO] Opening database for ReadWrite at 'C:\Users\Jon\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-08-15 07:15:01.142 [REPO] Opened SQLite Index with version [1.3], last write [2024-08-13 09:55:52.000]
2024-08-15 07:15:01.245 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/packages/Hugo.Hugo.Extended/bc609590/versionData.mszyml
2024-08-15 07:15:01.720 [CORE] Download hash: bc60959086f41129294c660b5a01f0719c483c583e76815a8702465fdf1cce07
2024-08-15 07:15:01.720 [CORE] Download completed.
2024-08-15 07:15:01.881 [CLI ] No app found matching input criteria
2024-08-15 07:15:01.893 [CLI ] Terminating context: 0x8a150014 at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\WorkflowBase.cpp:3e5


2024-08-15 07:15:08.236 [CORE] WinGet, version [1.8.1911], activity [{AC355C1E-704C-4426-A85B-BAC7E4E71C11}]
2024-08-15 07:15:08.236 [CORE] OS: Windows.Desktop v10.0.22631.4037
2024-08-15 07:15:08.237 [CORE] Command line Args: "C:\Users\Jon\AppData\Local\Microsoft\WindowsApps\winget.exe" install Hugo.Hugo.Extended
2024-08-15 07:15:08.237 [CORE] Package: Microsoft.DesktopAppInstaller v1.23.1911.0
2024-08-15 07:15:08.237 [CORE] IsCOMCall:0; Caller: winget-cli
2024-08-15 07:15:08.246 [CLI ] WinGet invoked with arguments: 'install' 'Hugo.Hugo.Extended'
2024-08-15 07:15:08.247 [CLI ] Found subcommand: install
2024-08-15 07:15:08.247 [CLI ] Leaf command to execute: root:install
2024-08-15 07:15:08.250 [CLI ] Executing command: install
2024-08-15 07:15:08.259 [REPO] Default source requested, multiple sources available, adding all to source references.
2024-08-15 07:15:08.259 [REPO] Adding to source references msstore
2024-08-15 07:15:08.259 [CORE] Default proxy is not set
2024-08-15 07:15:08.259 [REPO] REST HTTP Client helper does not use proxy
2024-08-15 07:15:08.259 [REPO] Adding to source references winget
2024-08-15 07:15:08.259 [CLI ] Created authentication arguments. Mode: silentPreferred, Account: 
2024-08-15 07:15:08.270 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-08-15 07:15:08.271 [CORE] Found matching extension.
2024-08-15 07:15:08.275 [REPO] Multiple sources available, creating aggregated source.
2024-08-15 07:15:08.275 [REPO] Adding to aggregated source: msstore
2024-08-15 07:15:08.275 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-15 07:15:08.479 [REPO] Response status: 200
2024-08-15 07:15:08.480 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-15 07:15:08.480 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-15 07:15:08.535 [REPO] Response status: 200
2024-08-15 07:15:08.535 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-15 07:15:08.536 [REPO] Adding to aggregated source: winget
2024-08-15 07:15:08.549 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-08-15 07:15:08.549 [CORE] Found matching extension.
2024-08-15 07:15:08.595 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.814.2321.46_neutral__8wekyb3d8bbwe\Public\index.db'
2024-08-15 07:15:08.597 [REPO] Opened SQLite Index with version [2.0], last write [2024-08-14 15:19:36.000]
2024-08-15 07:15:08.889 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-08-15 07:15:08.901 [REPO] Reading MSI UpgradeCodes
2024-08-15 07:15:09.183 [REPO] Reading MSI UpgradeCodes
2024-08-15 07:15:10.055 [REPO] Opening database for ReadWrite at 'C:\Users\Jon\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-08-15 07:15:10.057 [REPO] Opened SQLite Index with version [1.3], last write [2022-04-26 08:17:49.000]
2024-08-15 07:15:10.144 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2024-08-15 07:15:10.182 [REPO] Response status: 200
2024-08-15 07:15:10.192 [REPO] Opening database for ReadWrite at 'C:\Users\Jon\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-08-15 07:15:10.193 [REPO] Opened SQLite Index with version [1.3], last write [2024-08-13 09:55:52.000]
2024-08-15 07:15:10.432 [CLI ] Found one app. App id: Hugo.Hugo.Extended App name: Hugo (Extended)
2024-08-15 07:15:10.438 [REPO] Attempting to open pinning database: C:\Users\Jon\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-08-15 07:15:10.438 [REPO] ... opening existing pinning database
2024-08-15 07:15:10.439 [REPO] Opening database for Read at 'C:\Users\Jon\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db'
2024-08-15 07:15:10.439 [REPO] Opened Pinning Index with version [1.0], last write [2023-07-09 10:22:08.000]
2024-08-15 07:15:10.440 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/h/Hugo/Hugo/Extended/0.132.2/dcad
2024-08-15 07:15:10.741 [CORE] Download hash: ba61f3afddc0020574e16926a20552588541b2a58e3bb9eb0575281dd1cfdfc7
2024-08-15 07:15:10.741 [CORE] Download completed.
2024-08-15 07:15:10.753 [CLI ] Manifest fields: Name [Hugo (Extended)], Version [0.132.2]
2024-08-15 07:15:10.937 [CLI ] Generated temp download path: C:\Users\Jon\AppData\Local\Temp\WinGet\Hugo.Hugo.Extended.0.132.2\43eeec16ef92260a9a0e0f28210e806d3b6393527af74fd85b1fab8c8a08f680
2024-08-15 07:15:10.938 [CORE] Downloading to path: C:\Users\Jon\AppData\Local\Temp\WinGet\Hugo.Hugo.Extended.0.132.2\43eeec16ef92260a9a0e0f28210e806d3b6393527af74fd85b1fab8c8a08f680
2024-08-15 07:15:10.939 [CORE] DeliveryOptimization downloading from url: https://github.com/gohugoio/hugo/releases/download/v0.132.2/hugo_extended_0.132.2_windows-amd64.zip
2024-08-15 07:15:15.200 [CORE] Download completed.
2024-08-15 07:15:15.304 [CORE] Started applying motw to C:\Users\Jon\AppData\Local\Temp\WinGet\Hugo.Hugo.Extended.0.132.2\43eeec16ef92260a9a0e0f28210e806d3b6393527af74fd85b1fab8c8a08f680 with zone: 3
2024-08-15 07:15:15.307 [CORE] Finished applying motw
2024-08-15 07:15:15.307 [CLI ] Installer hash verified
2024-08-15 07:15:15.307 [CORE] Started applying motw to C:\Users\Jon\AppData\Local\Temp\WinGet\Hugo.Hugo.Extended.0.132.2\43eeec16ef92260a9a0e0f28210e806d3b6393527af74fd85b1fab8c8a08f680 with zone: 2
2024-08-15 07:15:15.313 [CORE] Finished applying motw
2024-08-15 07:15:15.314 [CLI ] Successfully renamed downloaded installer. Path: C:\Users\Jon\AppData\Local\Temp\WinGet\Hugo.Hugo.Extended.0.132.2\hugo_extended_0.132.2_windows-amd64.zip
2024-08-15 07:15:15.424 [CLI ] Extracting archive to: C:\Users\Jon\AppData\Local\Temp\WinGet\Hugo.Hugo.Extended.0.132.2\extracted
2024-08-15 07:15:16.665 [CLI ] Successfully extracted archive
2024-08-15 07:15:16.768 [REPO] Opening database for ReadWrite at 'C:\Users\Jon\AppData\Local\Microsoft\WinGet\Packages\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe.db'
2024-08-15 07:15:16.771 [REPO] Opened Portable Index with version [1.0], last write [2024-08-13 09:55:52.000]
2024-08-15 07:15:17.264 [REPO] Opening database for ReadWrite at 'C:\Users\Jon\AppData\Local\Microsoft\WinGet\Packages\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe.db'
2024-08-15 07:15:17.265 [REPO] Opened Portable Index with version [1.0], last write [2024-08-13 09:55:52.000]
2024-08-15 07:15:17.265 [CLI ] Deleting portable exe at: C:\Users\Jon\AppData\Local\Microsoft\WinGet\Packages\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe\hugo.exe
2024-08-15 07:15:17.281 [CLI ] Deleting portable exe at: C:\Users\Jon\AppData\Local\Microsoft\WinGet\Packages\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe\LICENSE
2024-08-15 07:15:17.286 [CLI ] Deleting portable exe at: C:\Users\Jon\AppData\Local\Microsoft\WinGet\Packages\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe\README.md
2024-08-15 07:15:17.290 [CORE] Install directory is not empty: C:\Users\Jon\AppData\Local\Microsoft\WinGet\Packages\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe
2024-08-15 07:15:17.296 [CLI ] Portable index deleted: C:\Users\Jon\AppData\Local\Microsoft\WinGet\Packages\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe.db
2024-08-15 07:15:17.296 [REPO] Creating new Portable Index with version [Latest] at 'C:\Users\Jon\AppData\Local\Microsoft\WinGet\Packages\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe.db'
2024-08-15 07:15:17.314 [CORE] Moving portable exe to: C:\Users\Jon\AppData\Local\Microsoft\WinGet\Packages\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe\hugo.exe
2024-08-15 07:15:17.319 [CORE] Moving portable exe to: C:\Users\Jon\AppData\Local\Microsoft\WinGet\Packages\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe\LICENSE
2024-08-15 07:15:17.324 [CORE] Moving portable exe to: C:\Users\Jon\AppData\Local\Microsoft\WinGet\Packages\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe\README.md
2024-08-15 07:15:17.336 [REPO] Opening database for ReadWrite at 'C:\Users\Jon\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-08-15 07:15:17.337 [REPO] Opened SQLite Index with version [1.3], last write [2024-08-13 09:55:52.000]
2024-08-15 07:15:17.442 [CLI ] Removing installer: C:\Users\Jon\AppData\Local\Temp\WinGet\Hugo.Hugo.Extended.0.132.2\extracted
2024-08-15 07:15:17.442 [CLI ] Leaf command succeeded: root:install

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing winget upgrade Hugo.Hugo.Extended with Hugo 0.132.1 installed, then compare the package entry with the successful winget install behavior and the supplied logs. Done means the upgrade command recognizes the installed package and updates it to the latest version.

Written by the indexing model from the issue text.

Assessment

Tech stack
hugo
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.