Bug 28427 - Unselecting "Console Tools" from Installer leads to not have GUI Text Editor on final installed system
Summary: Unselecting "Console Tools" from Installer leads to not have GUI Text Editor ...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: Mageia 9
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-24 12:06 CET by Alex Kotov
Modified: 2021-03-01 08:10 CET (History)
4 users (show)

See Also:
Source RPM: drakx-installer-stage2-18.45-2.mga9
CVE:
Status comment:


Attachments
MATE (pluma)+Cinnamon (gedit) (98.53 KB, image/png)
2021-02-24 12:07 CET, Alex Kotov
Details
report.bug.xz (190.31 KB, application/x-xz)
2021-02-24 19:21 CET, Alex Kotov
Details
report.bug.xz from james whitby install, Cinn+Mate (315.74 KB, application/x-xz)
2021-02-26 08:11 CET, Ben McMonagle
Details
gui test launcher (21.78 KB, application/x-shellscript)
2021-02-26 09:25 CET, Ben McMonagle
Details
output of 1st stage of launchGUIs (3.46 KB, text/plain)
2021-02-26 09:26 CET, Ben McMonagle
Details
guiApps.txt (2.81 KB, text/plain)
2021-02-26 10:54 CET, Alex Kotov
Details

Description Alex Kotov 2021-02-24 12:06:43 CET
Description of problem:
Hello. I install Mageia-8 "MATE" and "Cinnamon" from the network via Mageia-8-netinstall-nonfree-x86_64.iso (see the screenshot in the attachment).

After installing these DE's, I try to find native text editors for these DE's:
Go to MATE...
> rpm -qi pluma
package pluma is not installed

Logout and Go to Cinnamon...
> rpm -qi gedit
package gedit is not installed

In this install configuration, "LXDE" and "LXQt" have their native text editors after installation. They are not available exclusively in "MATE" and "Cinnamon".

Is it possible to add native text editors for these DE's (MATE & Cinnamon) to the installation so as not to waste extra time on it? Thanks.

Sincerely,
Alex
Comment 1 Alex Kotov 2021-02-24 12:07:50 CET
Created attachment 12378 [details]
MATE (pluma)+Cinnamon (gedit)
Comment 2 Aurelien Oudelet 2021-02-24 13:12:08 CET
Hi, thanks pinpoint this.

Hum. For MATE: task-mate
http://svnweb.mageia.org/packages/cauldron/task-mate/current/SPECS/task-mate.spec?revision=1671429&view=markup
Line 20: Requires:    pluma

And:
for task-cinnamon:
http://svnweb.mageia.org/packages/cauldron/task-cinnamon/current/SPECS/task-cinnamon.spec?revision=1655321&view=markup
it recommends task-xapps

task-xapps:
http://svnweb.mageia.org/packages/cauldron/task-xapps/current/SPECS/task-xapps.spec?revision=1599863&view=markup
Line 8: Requires: xed >= 1.8

So, no, these editors should be pulled.
For Cinnamon, the upstream text editor is xed (a gedit clone).

That is really strange is that seems to be done with netinstall ISO.

Did you look after "Text Editor" in menu?
Sometimes they are fully translated name instead of saying "xed" or "pluma"?

I will take a look in a VM.

CC: (none) => ouaurelien
Summary: MATE & Cinnamon: after install missing native text editors => From netinstall ISO choose MATE & Cinnamon: after installation missing native text editors

Comment 3 Alex Kotov 2021-02-24 14:08:40 CET
Hello, Aurelien.
Yes, I also first opened *.spec's to look at "Requires:" or "Recommends:". "task-mate" does have "pluma", so it's doubly strange that it doesn't install via the network installer (on a large classic *.iso did not check, checked only in the network installer). In the already installed Cinnamon, there are also no hints of the presence of "xed" or "gedit". :)
Comment 4 Aurelien Oudelet 2021-02-24 17:45:08 CET
(In reply to Alex Kotov from comment #3)
> Hello, Aurelien.
> Yes, I also first opened *.spec's to look at "Requires:" or "Recommends:".
> "task-mate" does have "pluma", so it's doubly strange that it doesn't
> install via the network installer (on a large classic *.iso did not check,
> checked only in the network installer). In the already installed Cinnamon,
> there are also no hints of the presence of "xed" or "gedit". :)

So, what text editor was installed on the final system?

Could you provide the file /root/drakx/report.bug.xz as an attachment, from the Mageia 8 installation?

Keywords: (none) => NEEDINFO

Comment 5 Alex Kotov 2021-02-24 19:20:28 CET
Aurelien, file "report.bug.xz" in the attachment.

Additionally, you can download a ready-made VM (MATE+Cinnamon) and add it to your VirtualBox:
https://drive.google.com/drive/folders/1j79Nt_XEo3GVw-DVk3gBlPkaUqhH1yET?usp=sharing

VM - is the final installation of M8-MATE+Cinnamon via the network installer. There are no text editors in it. The login password - is the word "hello".

"MATE" and "Cinnamon" are installed at once, since both have the same situation. By installing them one at a time with the configuration from the screenshot, you will get the same thing - text editors will be missing.
Comment 6 Alex Kotov 2021-02-24 19:21:05 CET
Created attachment 12382 [details]
report.bug.xz
Comment 7 Lewis Smith 2021-02-25 21:44:03 CET
Thank you for that file (leaving that to Aurélien).
And the added comment that installing either desktop individually - still no text editor.

Do we know whether this happens just from a NetInstall?
I doubt it would from the Classic ISO, but cannot be sure. (I install all desktops from that, and end up with loads of text editors).

CC'ing Ben who is experienced in different desktops.
Also Martin who knows this area.

CC: (none) => lewyssmith, mageia, westel

Comment 8 Ben McMonagle 2021-02-26 01:01:15 CET
Just completed a Mate x86_64 net install. (james whitby mirror)

pluma is in the application launcher menu.
created a document and default opened by pluma.

possibility that OP mirror was updating and  pluma was missed?

will try a task-cinnamon addition and see if xed is pulled in
Comment 9 Ben McMonagle 2021-02-26 01:02:49 CET
I chose also the tainted repos for the install
Comment 10 Ben McMonagle 2021-02-26 01:08:51 CET
in cinnamon xed opened the .txt file as default
Comment 11 Ben McMonagle 2021-02-26 03:22:38 CET
reversed the install.

cinnamon DE first - xed installed, and ok
added mate DE, pluma installed and ok.

one more test to do, install both together at once
Comment 12 Ben McMonagle 2021-02-26 04:10:32 CET
as above.
james whitby mirror, core thru' tainted 32 repos enabled

log into mate
create .txt file. 
default to open pluma
xed installed and option to open .txt  file.

all installs CSM - test hardware not UEFI compliant.
Comment 13 Ben McMonagle 2021-02-26 04:35:39 CET
ftp.nluug.nl//pub/os/Linux/distr/mageia/distrib/8/x86_64

does not indicate xed or pluma as part of the core release packages.

nluug needs to be updated?
Comment 14 Ben McMonagle 2021-02-26 08:11:07 CET
Created attachment 12392 [details]
report.bug.xz from james whitby install, Cinn+Mate
Comment 15 Alex Kotov 2021-02-26 08:51:25 CET
Hi, ben mcmonagle. Thank you for the additional testing.

To eliminate the problems of the mirrors from which Mageia-8 is installed, I re-installed MATE from the native, French mirrors:
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/8/x86_64/

The result is the same - Pluma is missing. I did not put Cinnamon, because I am sure that there will not be a text editor there either.

I suspect that before installing from the network, you did not look at the screenshot in the attachment, which shows the options with which the installation of MATE and Cinnamon takes place. If this screenshot doesn't open on your side for some reason, I'll describe in words what network installer options I'm installing:

PACKAGE GROUP SELECTION
---
Workstation - all checkbox's unchecked
Server - all checkbox's unchecked
Graphic Environment - only Cinnamon and MATE checkbox's checked

As a result, MATE and Cinnamon is installed, but Pluma and Xed (or gedit) is not.

At the same time, the system, as expected, has an Engrampa Archive Manager, Take ScreenShot, Atril Document Viewer, Galculator, etc... The MATE text editor - is Pluma. Where did the native text editor get lost? The same applies to Cinnamon. How can DE's live without native text editors, especially since they have them originally registered in the *.spec files task-mate and task-cinnamon packages?

I am sure that the text editor should also be in this installation configuration. Anyone can be, for example, a program for viewing images, but a text editor is vital. It is a native text editor. This is one of the most necessary tools of any DE.

What do you think? :)
Comment 16 Ben McMonagle 2021-02-26 09:23:18 CET
I chose the same DEs from the same screenshot.

the following is a selection (not all) of missing packages from your install as compared to mine:
selecting empathy
selecting filezilla
selecting gnome-clocks
selecting hexchat
selecting pitivi
selecting pix
selecting xviewer

hardware: Toshiba portege R930.
what is your hardware?
Comment 17 Ben McMonagle 2021-02-26 09:25:43 CET
Created attachment 12393 [details]
gui test launcher
Comment 18 Ben McMonagle 2021-02-26 09:26:49 CET
Created attachment 12394 [details]
output of 1st stage of launchGUIs
Comment 19 Ben McMonagle 2021-02-26 09:31:41 CET
please run the attached gui test launcher.
it will create a file guiApps of all user GUI applications available in your system.

quit the program when is asks if you want to contineu or quit.

compare it to mine, that I have attached.
attach your result file

you may need to make the program executable.
Comment 20 Ben McMonagle 2021-02-26 09:38:03 CET
see bug 27814 maybe?
Comment 21 Ben McMonagle 2021-02-26 09:46:17 CET
(In reply to Alex Kotov from comment #15)

> 
> What do you think? :)

I am just a user and specific tester as sometimes requested.

If  you can manually add the missing packages, I suspect that the issue may be tied to the bug in comment 20.
Comment 22 Martin Whitaker 2021-02-26 10:08:25 CET
The text editors were not installed because Alex deselected the "Console Tools" category. That name is a bit misleading - I wouldn't have classified the text editors that have GUI interfaces as console tools - but that's the way it is.
Comment 23 Alex Kotov 2021-02-26 10:54:04 CET
(In reply to ben mcmonagle from comment #19)
> please run the attached gui test launcher.
> it will create a file guiApps of all user GUI applications available in your
> system.
> 
> quit the program when is asks if you want to contineu or quit.
> 
> compare it to mine, that I have attached.
> attach your result file
> 
> you may need to make the program executable.

@ben mcmonagle,
The results are different... You have editors, I don't. :( (see attachment "guiApps.txt")

My test VM: RAM = 2GB, Disk=20GB

My hardware:
---
System:
---
Kernel: 5.10.16-desktop-1.mga8 x86_64 bits: 64 Desktop: Budgie 10.5.2
Distro: Mageia 8 mga8

Machine:
---
Type: Desktop Mobo: MSI model: H81M ECO (MS-7817) v: 7.0 serial: <filter>
UEFI: American Megatrends v: 32.7 date: 02/19/2016

CPU:
---
Info: Dual Core model: Intel Core i3-4130T bits: 64 type: MT MCP L2 cache: 3 MiB
Speed: 2900 MHz min/max: 800/2900 MHz Core speeds (MHz): 1: 2900 2: 2900 3: 2900
4: 2900

Video:
---
Device-1: Intel 4th Generation Core Processor Family Integrated Graphics driver: i915
v: kernel
Display: x11 server: Mageia X.org 1.20.10 driver: intel
unloaded: fbdev,modesetting,vesa resolution: 1600x900~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2) v: 4.5 Mesa 20.3.4

Audio:
---
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: snd_hda_intel
Device-2: Intel 8 Series/C220 Series High Definition Audio driver: snd_hda_intel
Device-3: Pixart Imaging type: USB driver: gspca_pac7302,snd-usb-audio
Sound Server: ALSA v: k5.10.16-desktop-1.mga8

Network:
---
Device-1: Intel Ethernet I218-V driver: e1000e
IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>

Drive:
---
Local Storage: total: 465.76 GiB used: 169.95 GiB (36.5%)
ID-1: /dev/sda vendor: Western Digital model: WD5000AADS-00S9B0 size: 465.76 GiB

Partition:
---
ID-1: / size: 74.67 GiB used: 37.56 GiB (50.3%) fs: ext4 dev: /dev/sda5
ID-2: /boot/EFI size: 96 MiB used: 8 MiB (8.4%) fs: vfat dev: /dev/sda1
ID-3: /media/windows size: 387.52 GiB used: 132.38 GiB (34.2%) fs: ntfs dev: /dev/sda3
ID-4: swap-1 size: 1.76 GiB used: N/A (0.0%) fs: swap dev: /dev/sda4

RAID:
---
Message: No RAID data was found.

Sensors:
---
System Temperatures: cpu: 29.8 C mobo: 27.8 C

Info:
---
Processes: 234 Uptime: 3h 30m Memory: 7.66 GiB used: 3.05 GiB (42.9%)
Client: Unknown Client: ginxi inxi: 3.2.01
Comment 24 Alex Kotov 2021-02-26 10:54:53 CET
Created attachment 12395 [details]
guiApps.txt
Comment 25 Alex Kotov 2021-02-26 10:56:24 CET
(In reply to Martin Whitaker from comment #22)
> The text editors were not installed because Alex deselected the "Console
> Tools" category. That name is a bit misleading - I wouldn't have classified
> the text editors that have GUI interfaces as console tools - but that's the
> way it is.

Hello, Martin. Can't text editors be classified correctly? :)
Comment 26 Aurelien Oudelet 2021-02-28 21:22:32 CET
(In reply to ben mcmonagle from comment #20)
> see bug 27814 maybe?

Regarding this comment:

(In reply to Martin Whitaker from comment #22)
> The text editors were not installed because Alex deselected the "Console
> Tools" category. That name is a bit misleading - I wouldn't have classified
> the text editors that have GUI interfaces as console tools - but that's the
> way it is.

So potential culprit here. Seems a request for enhancement for Mageia 8.
@ Morgan L, this can be landed as a note to errata to avoid further reports on this, please.
"Unselecting Console Tools prevents the Installer to really install GUI Text Editors, like Gedit, Xed, Pluma or Kwrite".

Thanks all for this forensics work.

Component: RPM Packages => Installer
Summary: From netinstall ISO choose MATE & Cinnamon: after installation missing native text editors => Unselecting "Console Tools" from Installer leads to not have GUI Text Editor on final installed system
Severity: normal => enhancement
Source RPM: (none) => drakx-installer-stage2-18.45-2.mga9

Aurelien Oudelet 2021-02-28 21:22:38 CET

Keywords: NEEDINFO => (none)

Aurelien Oudelet 2021-02-28 21:23:06 CET

CC: (none) => fri

Aurelien Oudelet 2021-02-28 21:23:21 CET

Assignee: bugsquad => mageiatools

Aurelien Oudelet 2021-02-28 21:23:32 CET

Target Milestone: --- => Mageia 9

Comment 27 Lewis Smith 2021-02-28 21:29:17 CET
@Ben
How to thank you for all those tests you did on this? When the answer was:

(In reply to Martin Whitaker from comment #22)
> The text editors were not installed because Alex deselected the "Console
> Tools" category. That name is a bit misleading - I wouldn't have classified
> the text editors that have GUI interfaces as console tools - but that's the
> way it is.
Sherlock Whitaker strikes again! What an unexpected reason.
But this is silly; as you say, GUI text editors hardly count as 'console tools' (I always wonder what that is supposed to mean).

CC: lewyssmith => (none)

Comment 28 Ben McMonagle 2021-02-28 22:13:40 CET
comparing the 2 guiApps files indicates 30+ applications are affected.

libreoffice suite among them.
guess these quailfy as  GUI text editors.

pix, xplayer and xviewer as well.
Comment 29 Martin Whitaker 2021-02-28 23:55:05 CET
(In reply to ben mcmonagle from comment #28)
> comparing the 2 guiApps files indicates 30+ applications are affected.
> 
> libreoffice suite among them.
> guess these quailfy as  GUI text editors.
> 
> pix, xplayer and xviewer as well.

Alex deselected all the package groups under Workstation, so it's not surprising those apps are not installed. They would be included by enabling the Office and Multimedia groups.
Comment 30 Alex Kotov 2021-03-01 08:10:25 CET
Thank you all for your cooperation on this issue. I hope that the changes will be adopted in the future. :)

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