Bug 27072 - Mageia update applet does not change when updating from Mageia Welcome
Summary: Mageia update applet does not change when updating from Mageia Welcome
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal minor
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-09 12:01 CEST by Cyril Levet
Modified: 2021-04-04 07:17 CEST (History)
2 users (show)

See Also:
Source RPM: rpmdrake
CVE:
Status comment:


Attachments

Description Cyril Levet 2020-08-09 12:01:28 CEST
Description of problem: When doing update from Mageia Welcome (just after the installation for example), the Mageia Update Applet in the Plasma taskbar does not update after the end of the update. In order to update the applet, it is mandatory to launch update through urpmi or drakrpm-update.


Version-Release number of selected component (if applicable): 2.02-1


How reproducible: Always


Steps to Reproduce:
1. Install Mageia 8 Beta 1 classic iso with Plasma desktop
2. Wait some time in order to have Mageia update applet in the taskbar
3. Launch Mageia update through Mageia Welcome
4. Close the update windows
5. The update notification in the taskbar is still here
Comment 1 Lewis Smith 2020-08-09 22:43:41 CEST
Confirmed on a Mageia 8 Classic installation running Plasma, with pending updates signalled in the Systray (down arrow):
 MageiaWelcome - Updates - Check system Updates
launches the usual update process. When this finishes and you leave it, the Systray 'update' icon remains as the down arrow; even after quitting Mageia Welcome.
Have not checked with other desktops.
(With no updates pending, I could not make it change with MCC-Update System or
 # urpmi --auto-update
However, clicking the mgaapplet icon to run the supposed updates reported none, and closing that changed the icon to the orange up-to-date one).

Leaving it initially as a MageiaWelcome problem, so passing this to DavidG for that. However, it may be a wider MageiaTools system update thing, so please re-assign it there if you think so.
If I find that it is different for another desktop, I will report back.

Assignee: bugsquad => geiger.david68210

Comment 2 papoteur 2020-08-14 09:28:17 CEST
Hello,
This can't be a mageiawelcome problem. Updates through mageiawelcome launches the command "drakrpm-update", nothing else.
Icon in systray is updated regularly. Perhaps waiting is enough to see the icon updated.

Assignee: geiger.david68210 => mageiatools
CC: (none) => yves.brungard_mageia

Comment 3 Aurelien Oudelet 2020-12-28 11:46:24 CET
No it is not a MageiaWelcome issue.
MageiaWelcome tells drakrpm-update:

See this in journalctl -f:

polkitd[1125]: Operator of unix-session:c2 successfully authenticated as unix-user:aurelien to gain TEMPORARY authorization for action org.mageia.drakrpm-update.pkexec.run for unix-process:15291:378937 [/usr/bin/sh /usr/bin/drakrpm-update] (owned by unix-user:aurelien)
pkexec[15292]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
pkexec[15292]: aurelien: Executing command [USER=root] [TTY=unknown] [CWD=/usr/share/mageiawelcome] [COMMAND=/usr/libexec/drakrpm-update]
drakrpm-update[15292]: ### Program is starting ###

Note that the command issued is: /usr/libexec/drakrpm-update and not /usr/bin/perl /usr/bin/mgaapplet

It is in applet there is an issue.
It can check for updates when MageiaWelcome is running (normal situation) but his state is not changed if an other process has been running the update method.

I wonder if possible that MageiaWelcome simply redirect to the applet instead of query directly drakrpm-update.

CC: (none) => ouaurelien

Aurelien Oudelet 2020-12-28 11:46:49 CET

Source RPM: mageiawelcome-2.02-1.mga8.src.rpm => mageiawelcome-2.05-1.mga8.src.rpm

Comment 4 Cyril Levet 2020-12-28 14:05:09 CET
I agree with Aurelien. The problem is still here but probably an applet problem not a MageiaWelcome one.
papoteur 2021-04-04 07:17:29 CEST

Source RPM: mageiawelcome-2.05-1.mga8.src.rpm => rpmdrake


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