Bug 2395811

Summary: libreoffice language packs not found in gnome-software
Product: [Fedora] Fedora Reporter: Daniel Rusek <drusek>
Component: gnome-softwareAssignee: Milan Crha <mcrha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: awilliam, dtardon, erack, gnome-sig, gwync, i18n-bugs, libreoffice-sig, lruzicka, mail, mattia.verga, maxwell, mcrha, petersen, pnemade, rhughes, robatino, sberg.fun
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: AcceptedFreezeException RejectedBlocker
Fixed In Version: gnome-software-49.0-2.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-30 00:16:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2324226    
Attachments:
Description Flags
LibreOffice language pack installation dialog
none
Software window none

Description Daniel Rusek 2025-09-16 14:42:29 UTC
When opening LibreOffice on a non-English installation of latest Fedora 43 Beta, it opens in English and a GNOME Software notification about required LibreOffice packages installation appears. Clicking the notification opens Software window with "No Results Found" message displayed.

Reproducible: Always

Steps to Reproduce:
1. Use latest, fully updated Fedora Workstation 43 (Beta) system with non-English locale.
2. Open LibreOffice.

Actual Results:
LibreOffice opens in English and a GNOME Software notification about required LibreOffice packages installation appears. Clicking the notification opens Software window with "No Results Found" message displayed.

Expected Results:
LibreOffice opens in English and a GNOME Software notification about required LibreOffice packages installation appears. Clicking the notification opens Software window with correct result (LibreOffice language pack) found and available for installation.

Additional Information:
See the attached screenshots.

Comment 1 Daniel Rusek 2025-09-16 14:43:47 UTC
Created attachment 2106788 [details]
LibreOffice language pack installation dialog

Comment 2 Daniel Rusek 2025-09-16 14:44:29 UTC
Created attachment 2106789 [details]
Software window

Comment 3 Fedora Blocker Bugs Application 2025-09-16 15:48:20 UTC
Proposed as a Blocker and Freeze Exception for 43-final by Fedora user asciiwolf using the blocker tracking app because:

 Pre-installed LibreOffice does not seem to have any l10n support out-of-box on non-English Fedora 43 Workstation. Instead, a dialog appears asking user to install the language pack for their language. However, this does not work and returns "No Results Found" error. This leads to a bad user experience and possible inability to use the application.

Comment 4 Mattia Verga 2025-09-16 18:36:22 UTC
If you manually search for libreoffice-langpack-cs in GNOME software manager (I don't know the exact name as I don't use GNOME) does it show any result?

Comment 5 Daniel Rusek 2025-09-16 21:22:25 UTC
(In reply to Mattia Verga from comment #4)
> If you manually search for libreoffice-langpack-cs in GNOME software manager
> (I don't know the exact name as I don't use GNOME) does it show any result?

Nope, nothing. And that's expected behavior since the libreoffice-langpack-* packages do not seem to have AppStream metadata (*.metainfo.xml file):

https://koji.fedoraproject.org/koji/rpminfo?rpmID=44232311
(https://freedesktop.org/software/appstream/docs/chap-Metadata.html)

Comment 6 Daniel Rusek 2025-09-17 11:44:54 UTC
Anyway, I think that this should ideally be handled by the package itself and the correct langpack should be automatically installed as part of the transaction based on system locale. I think that, for example, the tesseract package handles it this way.

Comment 7 Daniel Rusek 2025-09-17 11:48:37 UTC
Or maybe add the correct libreoffice langpack as a dependency of the Fedora "langpacks" package (https://src.fedoraproject.org/rpms/langpacks/blob/rawhide/f/langpacks.spec)?

Comment 8 Mattia Verga 2025-09-17 16:46:09 UTC
(In reply to Daniel Rusek from comment #6)
> Anyway, I think that this should ideally be handled by the package itself
> and the correct langpack should be automatically installed as part of the
> transaction based on system locale. I think that, for example, the tesseract
> package handles it this way.

That was always been the way it worked: every libreoffice-langpack-* package Supplements langpacks-* for the same language. For cs, libreoffice-langpack-cs has "Supplements langpacks-cs".

So, I think rpm/dnf does not work as expected in F43... (?)

Comment 9 Jens Petersen 2025-09-18 10:39:56 UTC
dnf+langpacks is working as expected at least: eg

$ sudo dnf install langpacks-XX

pulls in libreoffice-langpack-XX as expected.

Comment 10 Jens Petersen 2025-09-18 10:57:13 UTC
Yeah I can confirm the gnome-software popup works with F42-WORK-x86_64-LIVE-20250815.iso for example,
unlike F43 where gnome-software comes up empty with no match.

So either something changed with libreoffice or gnome-software I think (or possibly some integration).

Comment 11 Jens Petersen 2025-09-18 11:01:08 UTC
Or maybe libreoffice langpacks are missing from the appstream-data somehow perhaps?

Comment 12 Parag Nemade 2025-09-18 15:14:48 UTC
Maybe something related with dnf5 and gnome-software?

Comment 13 Milan Crha 2025-09-19 07:04:36 UTC
Which version of gnome-software is that, please? I agree it can be something with the dnf5 plugin. The Fedora 43 has switched back to the PackageKit recently, in the gnome-software-49~rc-3.fc43

Comment 14 Milan Crha 2025-09-19 08:22:55 UTC
Never mind, I tried with 49.0-1.fc43 and it cannot find the package too. It does use PackageKit.

The gnome-software as such requires AppStream data for general apps to be shown in the gnome-software. Nonetheless, in the Fedora 42 with gnome-software 48.3 the libreoffice-langpack-cs can be found and according to its interface it looks like a simple package than anything backed up by the AppStream data.

Slightly easier reproducer:

   gdbus call --session --dest org.freedesktop.PackageKit \
         -o /org/freedesktop/PackageKit \
         -m org.freedesktop.PackageKit.Modify2.InstallPackageNames \
         '["libreoffice-langpack-cs"]' "" "libreoffice-startcenter.desktop" []

Comment 15 Milan Crha 2025-09-19 10:31:13 UTC
Okay, it's my fault. I'm moving this to the gnome-software.

Comment 16 Milan Crha 2025-09-19 11:32:47 UTC
For the record, gnome-software with dnf5 (currently rawhide only) cannot do this at all, because the used `org.freedesktop.PackageKit` D-Bus service does not exist there. It is provided by the gnome-software, thus it should be doable. Unless I forget, I'll look on it the next week. The patch for the Fedora 43 is building currently.

Comment 17 Fedora Update System 2025-09-19 11:42:13 UTC
FEDORA-2025-7d010099e5 (gnome-software-49.0-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-7d010099e5

Comment 18 Fedora Update System 2025-09-20 17:05:44 UTC
FEDORA-2025-7d010099e5 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-7d010099e5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-7d010099e5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Milan Crha 2025-09-22 11:35:32 UTC
(In reply to Milan Crha from comment #16)
> For the record, gnome-software with dnf5 (currently rawhide only) cannot do
> this at all, because...

That will change with https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/2334 Either it'll be accepted upstream or it'll be part of the downstream patch, we'll see.

Comment 20 Lukas Ruzicka 2025-09-22 12:18:44 UTC
I can confirm that with the above mentioned update, Libre Office starts fully translated on F43.

Comment 21 Adam Williamson 2025-09-22 16:28:53 UTC
+6 for FE in https://pagure.io/fedora-qa/blocker-review/issue/1930 , marking accepted FE. blocker vote is ongoing.

Comment 22 Lukas Ruzicka 2025-09-23 07:44:48 UTC
AGREED RejectedFinalBlocker AcceptedFinalFreezeException

Discussed at the 2025-09-22 (blocker / freeze exception) review meeting:

This bug is rejected as it does not obviously break any criteria, resembling the longstanding experience on KDE. It is already accepted as a Freeze Exception.

https://meetbot-raw.fedoraproject.org//blocker-review_matrix_fedoraproject-org/2025-09-22/f43-blocker-review.2025-09-22-16.01.txt

Comment 23 Fedora Update System 2025-09-30 00:16:26 UTC
FEDORA-2025-7d010099e5 (gnome-software-49.0-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.