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

[Package Issue]: KDE.kmymoney can't install 5.1 beta with broken link; please install 5.0.6 (the latest stable) instead #68491

Closed
2 tasks done
MikeTheGreat opened this issue Aug 3, 2022 · 3 comments · Fixed by #68495
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@MikeTheGreat
Copy link

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

When you type
winget install kmymoney
it doesn't work, because the URL is wrong.

The URL is wrong because the URL is for a nightly/beta build (and no longer exists).

The KMyMoney website itself encourages users to install the prior stable version (5.0.6)

Steps to reproduce

C:\WINDOWS\system32>winget install KDE.kmymoney

Actual behavior

Found KMyMoney [KDE.kmymoney] Version 5.1
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://build-artifacts.kde.org/binary-factory/KMyMoney_Release_win64/1382/kmymoney-5.1-1382-windows-msvc2019_64-cl.exe
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190193 : Forbidden (403).```

### Expected behavior

Here's what happens when I tell winget to install the 5.0.6 version specifically:

C:\WINDOWS\system32>winget install --version 5.0.6 kmymoney
Found KMyMoney [KDE.kmymoney] Version 5.0.6
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://download.kde.org/stable/kmymoney/5.0.6/win64/kmymoney5-mingw64-5.0.6-8.1-setup.exe
██████████████████████████████ 108 MB / 108 MB
Successfully verified installer hash
Starting package install...
Successfully installed```

This is a workaround, but it would be great if the normal 'winget install kmymoney' would do this instead of trying to install the 5.1 nightly build version

Environment

C:\WINDOWS\system32>winget --info
Windows Package Manager v1.2.11601
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.795
Package: Microsoft.DesktopAppInstaller v1.17.11601.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

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

Screenshots and Logs

No response

@MikeTheGreat MikeTheGreat added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Aug 3, 2022
@ghost ghost added the Needs-Triage This work item needs to be triaged by a member of the core team. label Aug 3, 2022
@ghost ghost closed this as completed in #68495 Aug 3, 2022
@ghost ghost mentioned this issue Aug 3, 2022
@ItzLevvie
Copy link
Contributor

ItzLevvie commented Aug 3, 2022

I have made a PR to solve the 403 Forbidden error: #68516

https://build-artifacts.kde.org is the expected URL for this application here as it seems like https://download.kde.org/stable has been discontinued for many KDE applications built for Windows & macOS including KDE Connect and other popular KDE applications. For the new URLs, please notice the difference between KMyMoney_Release_win64 (stable) versus KMyMoney_Nightly_win64 (unstable) in the URLs.

Some of the KDE developers have recommended moving over to build-artifacts.kde.org because you'll be downloading newer versions as the versions on download.kde.org are a few years old and quite outdated and may no longer be receiving any support. This is also probably why Chocolately hasn't had some of their KDE packages updated for a long time.

You will need to contact the KDE developers to see if they can upload release builds to static URLs so that it can be included in winget-pkgs manifests without going 404 Not Found or 403 Forbidden in case someone forgets to update the manifest when the linked URL expires.

@MikeTheGreat
Copy link
Author

Ok. I think what I'm hearing is "KDE is switching to build-artifacts.kde.org and they need to provide stable URLs for downloading their stuff, or else they risk links breaking like this"

I'll see if I can log a bug in the KMyMoney system and then hope for the best. It would be cool if WinGet works smoothly but this is my first time using it so I'm not that invested in it yet.

Thank you!

@MikeTheGreat
Copy link
Author

Ok, I logged this in the KDE bug tracker at https://bugs.kde.org/show_bug.cgi?id=457460.

Good luck y'all :)

@denelon denelon added this to the 1.7 Packages milestone Nov 1, 2023
@denelon denelon removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Nov 1, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants