Bug 24315 - If the selected language is not English, LibreOffice is removed when draklive-install removes unneeded locales
Summary: If the selected language is not English, LibreOffice is removed when draklive...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: 7beta2
Depends on:
Blocks:
 
Reported: 2019-02-05 21:33 CET by Lewis Smith
Modified: 2019-02-18 21:40 CET (History)
1 user (show)

See Also:
Source RPM: libreoffice-6.1.4.2-4.mga7
CVE:
Status comment:


Attachments
Start of Syslog from installed Gnome Live 7beta2.2 (189.00 KB, application/gzip)
2019-02-06 11:04 CET, Lewis Smith
Details
Syslog from Live Xfce after installing the system, before re-boot (166.39 KB, application/gzip)
2019-02-06 13:03 CET, Lewis Smith
Details

Description Lewis Smith 2019-02-05 21:33:46 CET
Description of problem:
After installing beta2.1 Live Gnome & Xfce-64 ISOs, custom partitioning to existing partitions, accepting removing unneeded pkgs, I noticed that there was NO LibreOffice in the installed system. I was told it should be there. Same problem with beta2.2 Gnome at least, Xfce to try. I had updated the system all times. I cannot speak for Plasma.
Is anything else missed out?

Version-Release number of selected component (if applicable):
Mageia 7 beta

How reproducible:
3/3 Live ISOs so far.
Comment 1 Martin Whitaker 2019-02-06 00:31:56 CET
Please provide the result of running (as root) 'journalctl > system.log', either from the live system after running the install from the desktop, or from the installed system. In the latter case, I'm only interested in the first section of the log (when the installer was run), so 'journalctl -b 1 > system.log' should provide all I need.

CC: (none) => mageia
Keywords: (none) => NEEDINFO

Comment 2 Lewis Smith 2019-02-06 11:04:36 CET
Created attachment 10735 [details]
Start of Syslog from installed Gnome Live 7beta2.2

> from the installed system. In the latter case, I'm only interested in the
> first section of the log (when the installer was run), so
> 'journalctl -b 1 > system.log'
 # journalctl -b 1 > system.log
 -rw-r--r-- 1 root root 4647794 Chw   6 10:52 system.log
 # chmod a+w system.log
 $ gzip system.log 
 -rw-rw-rw- 1 lewis lewis 193535 Chw   6 10:52 system.log.gz

Will try latest Xfce Live later today.
Comment 3 Lewis Smith 2019-02-06 13:03:29 CET
Created attachment 10736 [details]
Syslog from Live Xfce after installing the system, before re-boot

> Please provide the result of running (as root) 'journalctl > system.log',
> either from the live system after running the install from the desktop
Syslog from the Live system, Xfce x64 Live beta2.2 start Feb, real h/w, after installation (from USB, like the others) from the desktop completed.
 # journalctl > system.log
 -rw-r--r-- 1 root root 4180730 Chw   6 12:51 system.log
 $ gzip system.log 
 $ ls -l system.log.gz 
 -rw-rw-rw- 1 live live 170384 Chw   6 12:51 system.log.gz

N.B. I have yet to see whether LibreOffice exists in the installed system, will report ASAP. It *is* in the Live system.
Comment 4 Lewis Smith 2019-02-06 13:23:09 CET
After re-boot re previous comment, LibreOffice *is* missing:-
Office menu
 Atril
 Orage
Graphics menu
 Gimp
 Ristretto
 Simple Scan
 Xsane
And other things? Needs comparison with more populated Live desktop menus.
Comment 5 Martin Whitaker 2019-02-06 20:54:09 CET
This is happening because the libreoffice-core package requires libreoffice-langpack-en, which in turn requires locales-en. So when the installer removes unneeded locale packages, the chain of dependencies causes all of libreoffice to be removed too.

The reason I never saw it is that I tested in English.

I think this is a bug in the libreoffice packaging. In mga6, libreoffice-core just requires libreoffice-langpack, which can be satisfied by any language variant.

Component: Installer => RPM Packages
Source RPM: (none) => libreoffice-6.1.4.2-4.mga7
Keywords: NEEDINFO => 7beta2
Summary: Live ISOs omit to install LibreOffice => If the selected language is not English, LibreOffice is removed when draklive-install removes unneeded locales

Martin Whitaker 2019-02-06 20:56:01 CET

Assignee: bugsquad => thierry.vignaud

Comment 6 Thierry Vignaud 2019-02-07 09:37:12 CET
This was done because LO wouldn't start without at least Langpack-en-US.xcd (rhbz#1573845)
Comment 7 Thierry Vignaud 2019-02-07 09:39:48 CET
Fixed in SVN

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 8 Martin Whitaker 2019-02-10 16:16:46 CET
Still valid in libreoffice-core-6.2.0.3-1.

You removed the wrong line ;-)

Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

Comment 9 Thierry Vignaud 2019-02-10 16:40:35 CET
Ah frak!
Remind me not to look at bugs between two baby bottles...
Can you fix it?
I'm in PTO & I won't have access to my dev machine until next Friday.
Thanks
Comment 10 Martin Whitaker 2019-02-10 16:56:57 CET
Rebuilding now.
Comment 11 Thierry Vignaud 2019-02-10 17:06:32 CET
Thanks.
Time for me to send just waked up baby to the swimming pool :-)
Comment 12 Martin Whitaker 2019-02-10 17:12:02 CET
Hmm, failed on armv7hl. Is that expected to work?
Comment 13 Martin Whitaker 2019-02-10 19:35:53 CET
(In reply to Martin Whitaker from comment #12)
> Hmm, failed on armv7hl. Is that expected to work?

Seems it failed the same way on the previous build, so I guess not.
Comment 14 Martin Whitaker 2019-02-16 15:02:44 CET
Fixed on the beta2 round 3 ISOs.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 15 Lewis Smith 2019-02-18 21:40:20 CET
(In reply to Martin Whitaker from comment #14)
> Fixed on the beta2 round 3 ISOs.
Thank you Martin. Have just installed both x64 Gnome & Xfce Lives, confirm LibreOffice present in installed systems. Trust for Plasma.

Note You need to log in before you can comment on or make changes to this bug.