Bug 142485 - Check for Updates Not Packager-Aware
Summary: Check for Updates Not Packager-Aware
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
(earliest affected)
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
Depends on:
Blocks: Updates
  Show dependency treegraph
Reported: 2021-05-25 15:47 UTC by Michael Warner
Modified: 2021-10-12 12:56 UTC (History)
0 users

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Warner 2021-05-25 15:47:03 UTC
I'm using on Linux Mint, which uses the Debian packager. LO told me there was an update available and presented the Check for Updates window. When I clicked Download... it took me to the downloads page with "Linux (64-bit) (rpm)" selected, when it should be "Linux (64-bit) (deb)" in my case. 

Changing the selection from the operating system pull-down menu is trivial, of course. But other people may not be as observant and accidentally download the wrong format. 

I would think it would be easy enough for LO to pass the packager format for the current OS as an argument in the download link and have either the server or Javascript on the download page select the correct format.
Comment 1 Michael Warner 2021-05-25 15:54:11 UTC
Selecting stuff from the menu shows that the page already supports a "type" parameter, the Download... button from the Check for Updates window just isn't providing it.
Comment 2 [REDACTED] 2021-05-26 12:08:36 UTC
Generally: Linux distribution remove the update functionality from their packages due to the fact they have methods through their respective package manager to assure upgrades of LibreOffice. 

That's the case with distribution releases of LibreOffice in openSUSE (Leap 15.2 in my case), Ubuntu (20.04 on my case) and Mint (20.1 in my case). Hence it is not clear, why you have the update functionality, if using the distribution specific packages.

From my perspective the only explanation for having the "Check for Updates" functionality would be: You download your LibreOffice version from libreoffice.org.

Could you comment on this?
Comment 3 Michael Warner 2021-05-26 16:20:13 UTC
You are correct. The LO package provided by my Linux distribution's package manager was too old for me, so I had downloaded a later version from the LO downloads page and installed that sometime in the past. Then yesterday, I went to update that using the Check for Updates function.

Since downloading Linux packages from the web is clearly a supported use case, I think the updates manager should be able to automatically select the correct package set for me when I do that.
Comment 4 Michael Warner 2021-05-27 03:10:10 UTC
I stepped back to and tried it. It doesn't pass the type parameter in the URL, but the server seems to be consistently selecting Debian anyway. I will guess that it is looking at the User-Agent to determine that. I'm not sure why it wasn't working before. I guess I should mark this as WFM.