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]: TheDocumentFoundation.LibreOffice REGRESSION: abuse of downloadarchive NON-CDN URLs #137666

Closed
2 tasks done
R-Adrian opened this issue Feb 2, 2024 · 2 comments · Fixed by #137709
Closed
2 tasks done
Labels
In-PR Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@R-Adrian
Copy link

R-Adrian commented Feb 2, 2024

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

LibreOffice v24.2 has been listed in the winget manifest repository by #137511 and #137519

BUT... the links from @Exorcism0666 in the manifests are hammering again the NON-CDN archive hosting server instead of the CDN distribution servers.

This was WinGet packages issue #99420 last year, the manifests were fixed then and now it happens again.

And a side bug: upgrading from LibreOffice 7.6.4.1 to 24.2.0.3 via winget does not work... it gives me this error:

PS C:\Windows\System32> winget upgrade
Name                Id                                Version Available Source
------------------------------------------------------------------------------
LibreOffice 7.6.4.1 TheDocumentFoundation.LibreOffice 7.6.4.1 24.2.0.3  winget
1 upgrades available.
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.
PS C:\Windows\System32> winget show TheDocumentFoundation.LibreOffice
Found LibreOffice [TheDocumentFoundation.LibreOffice]
Version: 24.2.0.3
Publisher: The Document Foundation
Publisher Url: https://www.documentfoundation.org/
Publisher Support Url: https://www.documentfoundation.org/gethelp/support/
Author: The Document Foundation
Moniker: libreoffice
Description: LibreOffice is a free and powerful office suite, and a successor to OpenOffice.org (commonly known as OpenOffice). Its clean interface and feature-rich tools help you unleash your creativity and enhance your productivity.
Homepage: https://www.libreoffice.org/
License: Mozilla Public License Version 2.0
License Url: https://www.libreoffice.org/about-us/licenses
Privacy Url: https://www.libreoffice.org/about-us/privacy/privacy-policy-en/
Tags:
  access
  excel
  libreoffice
  odf
  openoffice
  powerpoint
  ppt
  word
Installer:
  Installer Type: msi
  Installer Locale: en-US
  Installer Url: https://downloadarchive.documentfoundation.org/libreoffice/old/24.2.0.3/win/x86_64/LibreOffice_24.2.0.3_Win_x86-64.msi
  Installer SHA256: 58dcf13d87ef1279f7229b69949b836b73ce5f039ddb54cdf091f8fea28cc9f2
  Release Date: 2024-01-29
PS C:\Windows\System32> winget upgrade TheDocumentFoundation.LibreOffice
No applicable upgrade found.
A newer package version is available in a configured source, but it does not apply to your system or requirements.

Steps to reproduce

see issue #99420 from March 2023

Actual behavior

winget downloads from https://downloadarchive.documentfoundation.org/
Please note that the downloadarchive server is not backed by a full CDN, recent files have a limited development/testing-only CDN but older files are not mirrored at all to the development CDN

Expected behavior

winget should download from https://download.documentfoundation.org/libreoffice/stable/

Environment

PS C:\Windows\System32> winget --info
Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.3996
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.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                E:\Documente\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
PS C:\Windows\System32>

Screenshots and Logs

(section not relevant)

@R-Adrian R-Adrian added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Feb 2, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Feb 2, 2024
Copy link
Contributor

github-actions bot commented Feb 2, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Feb 5, 2024
@stephengillie
Copy link
Collaborator

I've added "downloadarchive.documentfoundation.org" to my word filter list, so PRs using this URL will be detected and have a note added instead of being approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In-PR 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