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

Can't upgrade with winget upgrade #12773

Closed
jonsagara opened this issue Aug 15, 2024 · 3 comments
Closed

Can't upgrade with winget upgrade #12773

jonsagara opened this issue Aug 15, 2024 · 3 comments

Comments

@jonsagara
Copy link

For the past few releases, I have been unable to upgrade hugo with winget upgrade, but I can make the upgrade work by using winget install instead.

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

What version of Hugo are you using (hugo version)?

$ hugo version
0.132.1

Does this issue reproduce with the latest release?

Yes

Environment

OS: Windows 11 Version 23H2 (OS Build 22631.4037)
PowerShell 7.4.4
Windows Terminal 1.20.11781.0
winget: v1.8.1911

@jonsagara jonsagara changed the title Can't upgrade with winget Can't upgrade with winget upgrade Aug 15, 2024
@jmooring
Copy link
Member

The Hugo project does not maintain or support the Hugo winget package, which resides here:
https://github.com/microsoft/winget-pkgs/tree/master/manifests/h/Hugo/Hugo

Please log an issue here:
https://github.com/microsoft/winget-pkgs/issues

@jonsagara
Copy link
Author

Thank you.

For the curious, here's the issue I created over there: microsoft/winget-pkgs#167845

Copy link

github-actions bot commented Sep 6, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants