https://bugs.documentfoundation.org/show_bug.cgi?id=172589
Bug ID: 172589
Summary: PreInstallation checks for .deb/.rpm packages (related
to x86-64-v1 cpu flag for example)
Product: LibreOffice
Version: unspecified
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Installation
Assignee: [email protected]
Reporter: [email protected]
Description:
On an old Mac, I have completed the upgrade of LO version to the latest 26.x;
Once finished, I have tried to run LO to be sure of the upgrade, and it simply
didnt start at all.
I have downloaded back the deb package (maybe an unknown corruption),
uninstalled and installed back, nothing to do, no starting.
When I tried to run from command line I got notified about a strange error
(apologize, I didnt save it and at the moment I have it under my hand);
googling it was about the x86-64-v2 minimu cpu requirement (for more info you
can see this "old" bug report:
https://bugs.documentfoundation.org/show_bug.cgi?id=169747 ).
Based on the Package manager, would be possible to add a "PreInst" script in
the deb/rpm packages to avoid such situations? With a PreInst script that check
for the machine compatibility, the package would not be neither installed
avoiding issue and notifying to the end user immediately the problem.
I leave information about the "PreInst" topic (at least for deb):
- https://man7.org/linux/man-pages/man5/deb-preinst.5.html
- https://www.debian.org/doc/manuals/debian-faq/pkg-basics.en.html#maintscripts
Steps to Reproduce:
1. Use an hardware with not supported x86-64-v2 cpu flag
2. Try to install any 26.x release (please pay attention that on the very first
release, 26.2.0 if i remember correctly but I may have a bad memory, it wasnt
there the problem)
3. Run libreoffice from GUI getting no information
4. Run libreoffice from terminal getting an error
5. Optional: google it with the "knowledge" of a non-tech person = not
immediate information
Actual Results:
End users can install without any issue a not runnable software version without
any kind of warning during installation process
Expected Results:
Being warned that the version will not be installed cause the hardware doesnt
meet the minimum requirement
Reproducible: Always
User Profile Reset: No
Additional Info:
Not available at the moment
--
You are receiving this mail because:
You are the assignee for the bug.