Bug 21378

Summary: System tray mgaapplet icon is red (?) with media selected, the wheel user can update from shell.
Product: Mageia Reporter: Kevin Bulgrien <kbulgrien>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: kbulgrien, marja11, ouaurelien
Version: 6Keywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: mgaonline-3.24.1-1.mga6.src.rpm CVE:
Status comment:

Description Kevin Bulgrien 2017-07-28 07:15:08 CEST
Description of problem:

For a long time, definitely all through Mageia 5, probably even earlier, and now after clean install of Mageia 6, mgaapplet in the system tray never is useful.  On system boot, it is a red (?) icon with bubble that reads "mgaapplet 
No medium found. You must add some media through 'Software Media Manager'.".

Nothing tried corrects this issue.

Clicking the red (?) icon gives an Authentication Required dialog.  Entering the password for a system user that is a member of wheel permits proceeding to a Configure Media dialog where it is evident that standard media are already enabled/selected (i.e. Core Release2, Core Updates, Nonfree Release2, Nonfree Updates, core 32bit Release, Core32bit Updates, etc.)

Upon close of the Configure Media dialog, the mgaapplet changes to an orange icon (perhaps a wait icon) briefly.

Shortly after the mgaapplet icon turns orange, a Fatal Error dialog pops up to be dismissed:  A fatal error occurred: Could not find a mirror from mirrorlist $MIRRORLIST.  Clicking Ok results in yet another identical Fatal Error dialog.  In turn, clicking Ok on the second dialog results in a third identical dialog.  Clicking Ok on the third dialog dismisses it and no more recur.

After the Fatal Error dialogs are dismissed, the mgaapplet icon remains orange for a very long time (bubble reads "Please wait. Finding available packages..." for a very long time, but no packages are ever found and the system is never updated via mgaapplet.

The same wheel user whose password is required by mgaapplet can use `urpmi` to update the system without error.

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

Various, long standing problem, multiple revisions of mgaapplet.

Example of `journalctl -xt mgaapplet`:

-- Logs begin at Thu 2017-07-20 18:40:31 CDT, end at Thu 2017-07-27 23:59:32 CDT. --
Jul 27 22:08:54 matrix... mgaapplet[12971]: no update media configured
Jul 27 22:29:08 matrix... mgaapplet[12971]: Launching 'Software Media Manager'
Jul 27 22:29:08 matrix... mgaapplet[12971]: running: /usr/bin/drakrpm-editmedia --no-s
Jul 27 22:29:42 matrix... mgaapplet[12971]: Computing new updates...
Jul 27 22:29:42 matrix... mgaapplet[12971]: running: mgaapplet-update-checker
Jul 27 22:47:11 matrix... mgaapplet[12971]: no update media configured
Jul 27 22:47:11 matrix... mgaapplet[12971]: Launching 'Software Media Manager'
Jul 27 22:47:11 matrix... mgaapplet[12971]: running: /usr/bin/drakrpm-editmedia --no-s
Jul 27 22:48:38 matrix... mgaapplet[12971]: Computing new updates...
Jul 27 22:48:38 matrix... mgaapplet[12971]: running: mgaapplet-update-checker
Jul 27 22:49:01 matrix... mgaapplet[12971]: no update media configured
Jul 27 22:50:03 matrix... mgaapplet[28545]: ### Program is starting ###
Jul 27 22:50:04 matrix... mgaapplet[28545]: running: ionice -p 28545 -n7
Jul 27 22:53:40 matrix... mgaapplet[12971]: Launching 'Software Media Manager'
Jul 27 22:53:40 matrix... mgaapplet[12971]: running: /usr/bin/drakrpm-editmedia --no-s
Jul 27 22:53:50 matrix... mgaapplet[12971]: Computing new updates...
Jul 27 22:53:50 matrix... mgaapplet[12971]: running: mgaapplet-update-checker
Jul 27 22:54:24 matrix... mgaapplet[12971]: no update media configured
Jul 27 22:54:43 matrix... mgaapplet[12971]: Launching 'Software Media Manager'
Jul 27 22:54:43 matrix... mgaapplet[12971]: running: /usr/bin/drakrpm-editmedia --no-s
Jul 27 22:55:09 matrix... mgaapplet[12971]: Computing new updates...
Jul 27 22:55:09 matrix... mgaapplet[12971]: running: mgaapplet-update-checker
Jul 27 22:55:31 matrix... mgaapplet[12971]: no update media configured
Jul 27 23:13:41 matrix... mgaapplet[12971]: Launching 'Software Media Manager'
Jul 27 23:13:41 matrix... mgaapplet[12971]: running: /usr/bin/drakrpm-editmedia --no-s
Jul 27 23:14:08 matrix... mgaapplet[12971]: Computing new updates...
Jul 27 23:14:08 matrix... mgaapplet[12971]: running: mgaapplet-update-checker
Jul 27 23:14:30 matrix... mgaapplet[12971]: no update media configured
Jul 27 23:14:42 matrix... mgaapplet[12971]: Launching 'Software Media Manager'
Jul 27 23:14:42 matrix... mgaapplet[12971]: running: /usr/bin/drakrpm-editmedia --no-s
Jul 27 23:15:42 matrix... mgaapplet[12971]: Computing new updates...
Jul 27 23:15:42 matrix... mgaapplet[12971]: running: mgaapplet-update-checker
Jul 27 23:16:05 matrix... mgaapplet[12971]: no update media configured
Jul 27 23:41:55 matrix... mgaapplet[12971]: Launching 'Software Media Manager'
Jul 27 23:41:55 matrix... mgaapplet[12971]: running: /usr/bin/drakrpm-editmedia --no-s
Jul 27 23:44:58 matrix... mgaapplet[12971]: Computing new updates...
Jul 27 23:44:58 matrix... mgaapplet[12971]: running: mgaapplet-update-checker
Jul 27 23:46:20 matrix... mgaapplet[12971]: no update media configured
Jul 27 23:46:22 matrix... mgaapplet[12971]: Launching 'Software Media Manager'
Jul 27 23:46:22 matrix... mgaapplet[12971]: running: /usr/bin/drakrpm-editmedia --no-s
Jul 27 23:46:34 matrix... mgaapplet[12971]: Computing new updates...
Jul 27 23:46:34 matrix... mgaapplet[12971]: running: mgaapplet-update-checker

How reproducible:

Steps to Reproduce:
Unsure how to create problem.  Is default behavior on clean install of this system (/home for users not wiped).  The problem is not unique to Mageia 6.  This problem has existed for a very long time.

This problem does not necessarily exist for all systems I have, so possibly some user-specific configuration is at issue, but I am not sure how to proceed.  ~/.MgaOnline is empty for both the desktop user and the wheel user.

The wheel user can see /etc/urpmi/ fine:

$ ls -alR /etc/urpmi
/etc/urpmi:
total 56
drwxr-xr-x   3 root root  4096 Jul 27 23:46 ./
drwxr-xr-x 111 root root 12288 Jul 27 23:01 ../
-rw-r--r--   1 root root    87 Jul 13 15:31 inst.list
drwxr-xr-x   3 root root  4096 Jul 20 00:24 mediacfg.d/
-rw-------   1 root root     0 Jul 27 23:46 netrc
-rw-r--r--   1 root root  3021 Jul  7 12:37 prefer.vendor.list
-rw-r--r--   1 root root     0 Jul 27 22:48 proxy.cfg
-rw-r--r--   1 root root   134 Jul 13 15:31 skip.list
-rw-r--r--   1 root root 23525 Jul 27 23:46 urpmi.cfg

/etc/urpmi/mediacfg.d:
total 12
drwxr-xr-x 3 root root 4096 Jul 20 00:24 ./
drwxr-xr-x 3 root root 4096 Jul 27 23:46 ../
drwxr-xr-x 2 root root 4096 Jul 20 01:26 Official-6-x86_64/

/etc/urpmi/mediacfg.d/Official-6-x86_64:
total 28
drwxr-xr-x 2 root root  4096 Jul 20 01:26 ./
drwxr-xr-x 3 root root  4096 Jul 20 00:24 ../
-rw-rw---- 1 root root 10252 Jul 27 22:47 media.cfg
-rw-r--r-- 1 root root    12 Jul 20 01:26 mirrorlist
-rw-r--r-- 1 root root   111 Jul 20 01:26 url

sudo is required to read the media.cfg file, but otherwise all files are readable by the wheel user without elevating privileges.
Kevin Bulgrien 2017-07-28 07:15:43 CEST

Source RPM: gaonline-3.24-1.mga6.src.rpm => mgaonline-3.24-1.mga6.src.rpm

Comment 1 Kevin Bulgrien 2017-07-28 07:33:49 CEST
Running mgaapplet by the wheel group member gives:

$ mgaapplet
Ignore the following Glib::Object::Introspection & Gtk3 warnings
WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. at /usr/lib/perl5/vendor_perl/5.22.3/Gtk3.pm line 557.
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.3/Gtk3.pm line 525.
unable to access synthesis file of "Core Updates", medium ignored
unable to access synthesis file of "Nonfree Updates", medium ignored
unable to access synthesis file of "Core 32bit Updates", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates", medium ignored
unable to access synthesis file of "Core Updates2", medium ignored
unable to access synthesis file of "Nonfree Updates2", medium ignored
unable to access synthesis file of "Core 32bit Updates2", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates2", medium ignored
unable to access synthesis file of "Core Updates3", medium ignored
unable to access synthesis file of "Nonfree Updates3", medium ignored
unable to access synthesis file of "Core 32bit Updates3", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates3", medium ignored
unable to access synthesis file of "Core Release (distrib1)", medium ignored
unable to access synthesis file of "Core Updates (distrib3)", medium ignored
unable to access synthesis file of "Nonfree Release (distrib11)", medium ignored
unable to access synthesis file of "Nonfree Updates (distrib13)", medium ignored
unable to access synthesis file of "Core 32bit Release (distrib31)", medium ignored
unable to access synthesis file of "Core 32bit Updates (distrib32)", medium ignored
unable to access synthesis file of "Nonfree 32bit Release (distrib36)", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates (distrib37)", medium ignored
Comment 2 Kevin Bulgrien 2017-07-28 07:43:10 CEST
See the notes for Fatal Error dialogs below...

Using the user with wheel group membership:

$ mgaapplet-update-checker
Ignore the following Glib::Object::Introspection & Gtk3 warnings
WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. at /usr/lib/perl5/vendor_perl/5.22.3/Gtk3.pm line 557.
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.3/Gtk3.pm line 525.
unable to access synthesis file of "Core Updates", medium ignored
unable to access synthesis file of "Nonfree Updates", medium ignored
unable to access synthesis file of "Core 32bit Updates", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates", medium ignored
unable to access synthesis file of "Core Updates2", medium ignored
unable to access synthesis file of "Nonfree Updates2", medium ignored
unable to access synthesis file of "Core 32bit Updates2", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates2", medium ignored
unable to access synthesis file of "Core Updates3", medium ignored
unable to access synthesis file of "Nonfree Updates3", medium ignored
unable to access synthesis file of "Core 32bit Updates3", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates3", medium ignored
unable to access synthesis file of "Core Release (distrib1)", medium ignored
unable to access synthesis file of "Core Updates (distrib3)", medium ignored
unable to access synthesis file of "Nonfree Release (distrib11)", medium ignored
unable to access synthesis file of "Nonfree Updates (distrib13)", medium ignored
unable to access synthesis file of "Core 32bit Release (distrib31)", medium ignored
unable to access synthesis file of "Core 32bit Updates (distrib32)", medium ignored
unable to access synthesis file of "Nonfree 32bit Release (distrib36)", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates (distrib37)", medium ignored
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
Only superuser is allowed to update media
getting mirror list from http://mirrors.mageia.org/api/mageia.6.x86_64.list
not using metalink since requested downloader does not handle it
error: curl failed: exited with 23

mirror list not found
found geolocalisation US 41.85 -86.35 from timezone US/Central
---
At this point, a Fatal error dialog is raised.  "A fatal error occurred: Could not find a mirror from mirrorlist $MIRRORLIST."  Four such dialogs occur in series.  The console output does not continue until they are dismissed.
---
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Core Release2.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Nonfree Release2.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Core 32bit Release.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Nonfree 32bit Release.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Core Release3.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Nonfree Release3.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Core 32bit Release2.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Nonfree 32bit Release2.cz]
examining synthesis file [/var/lib/urpmi/Core Release4/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Release4/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core 32bit Release3/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree 32bit Release3/synthesis.hdlist.cz]

Running mgaapplet-update-checker as the desktop user gives:

$ mgaapplet-update-checker 
Ignore the following Glib::Object::Introspection & Gtk3 warnings
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.3/Gtk3.pm line 525.
unable to access synthesis file of "Core Updates", medium ignored
unable to access synthesis file of "Nonfree Updates", medium ignored
unable to access synthesis file of "Core 32bit Updates", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates", medium ignored
unable to access synthesis file of "Core Updates2", medium ignored
unable to access synthesis file of "Nonfree Updates2", medium ignored
unable to access synthesis file of "Core 32bit Updates2", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates2", medium ignored
unable to access synthesis file of "Core Updates3", medium ignored
unable to access synthesis file of "Nonfree Updates3", medium ignored
unable to access synthesis file of "Core 32bit Updates3", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates3", medium ignored
unable to access synthesis file of "Core Release (distrib1)", medium ignored
unable to access synthesis file of "Core Updates (distrib3)", medium ignored
unable to access synthesis file of "Nonfree Release (distrib11)", medium ignored
unable to access synthesis file of "Nonfree Updates (distrib13)", medium ignored
unable to access synthesis file of "Core 32bit Release (distrib31)", medium ignored
unable to access synthesis file of "Core 32bit Updates (distrib32)", medium ignored
unable to access synthesis file of "Nonfree 32bit Release (distrib36)", medium ignored
unable to access synthesis file of "Nonfree 32bit Updates (distrib37)", medium ignored
medium "Core Updates" is up-to-date
medium "Nonfree Updates" is up-to-date
medium "Core 32bit Updates" is up-to-date
medium "Nonfree 32bit Updates" is up-to-date
medium "Core Updates2" is up-to-date
medium "Nonfree Updates2" is up-to-date
medium "Core 32bit Updates2" is up-to-date
medium "Nonfree 32bit Updates2" is up-to-date
medium "Core Updates3" is up-to-date
medium "Nonfree Updates3" is up-to-date
medium "Core 32bit Updates3" is up-to-date
medium "Nonfree 32bit Updates3" is up-to-date
medium "Core Updates (distrib3)" is up-to-date
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Core 32bit Updates (distrib32)" is up-to-date
medium "Nonfree 32bit Updates (distrib37)" is up-to-date
medium "Core Backports" is up-to-date
medium "Nonfree Backports" is up-to-date
medium "Tainted Backports" is up-to-date
medium "Core 32bit Backports" is up-to-date
medium "Nonfree 32bit Backports" is up-to-date
medium "Tainted 32bit Backports" is up-to-date
medium "Core Backports2" is up-to-date
medium "Nonfree Backports2" is up-to-date
medium "Tainted Backports2" is up-to-date
medium "Core 32bit Backports2" is up-to-date
medium "Nonfree 32bit Backports2" is up-to-date
medium "Tainted 32bit Backports2" is up-to-date
medium "Core Backports3" is up-to-date
medium "Nonfree Backports3" is up-to-date
medium "Tainted Backports3" is up-to-date
medium "Core 32bit Backports3" is up-to-date
medium "Nonfree 32bit Backports3" is up-to-date
medium "Tainted 32bit Backports3" is up-to-date
medium "Core Backports (distrib7)" is up-to-date
medium "Nonfree Backports (distrib17)" is up-to-date
medium "Tainted Backports (distrib27)" is up-to-date
medium "Core 32bit Backports (distrib34)" is up-to-date
medium "Nonfree 32bit Backports (distrib39)" is up-to-date
medium "Tainted 32bit Backports (distrib44)" is up-to-date
getting mirror list from http://mirrors.mageia.org/api/mageia.6.x86_64.list
not using metalink since requested downloader does not handle it
error: curl failed: exited with 23

mirror list not found
found geolocalisation US 41.85 -86.35 from timezone US/Central
---
At this point, a Fatal error dialog is raised.  "A fatal error occurred: Could not find a mirror from mirrorlist $MIRRORLIST."  Four such dialogs occur in series.  The console output does not continue until they are dismissed.
---
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Core Release2.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Nonfree Release2.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Core 32bit Release.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Nonfree 32bit Release.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Core Release3.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Nonfree Release3.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Core 32bit Release2.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Nonfree 32bit Release2.cz]
examining synthesis file [/var/lib/urpmi/Core Release4/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Release4/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core 32bit Release3/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree 32bit Release3/synthesis.hdlist.cz]
Comment 3 Frédéric "LpSolit" Buclin 2017-07-28 12:58:23 CEST
What's the security level on your machine? See /etc/security/msec/security.conf.
Do you have BASE_LEVEL=standard or BASE_LEVEL=secure?
Marja Van Waes 2017-07-28 23:00:21 CEST

Keywords: (none) => NEEDINFO
Assignee: bugsquad => mageiatools
CC: (none) => marja11

Comment 4 Kevin Bulgrien 2017-07-29 01:57:11 CEST
BASE_LEVEL=standard
Comment 5 Kevin Bulgrien 2017-07-29 02:02:56 CEST
To more precisely state what happens when the system first boots, the icon is initially orange and mousing over it reveals an indication that it will check for updates a few minutes later.  After the time to check for updates is reached, the "Fatal error" relating to $MIRRORLIST occurs.  After dismissing four such dialogs in series, the icon turns red.
Comment 6 Frédéric "LpSolit" Buclin 2017-07-29 13:59:19 CEST
(In reply to Kevin Bulgrien from comment #0)

> /etc/urpmi/mediacfg.d/Official-6-x86_64:

> -rw-rw---- 1 root root 10252 Jul 27 22:47 media.cfg

I think this is the problem. Permissions for media.cfg are supposed to be 644, as for the other two files in this directory. Could you chmod 644 media.cfg and try again?
Comment 7 Kevin Bulgrien 2017-07-29 18:11:53 CEST
[matrix:/etc/urpmi/mediacfg.d/Official-6-x86_64]$ ls -l
total 20
-rw-r--r-- 1 root root 10252 Jul 27 22:47 media.cfg
-rw-r--r-- 1 root root    12 Jul 20 01:26 mirrorlist
-rw-r--r-- 1 root root   111 Jul 20 01:26 url

Changing these permissions does not change the symptoms.
Comment 8 Frédéric "LpSolit" Buclin 2017-07-29 18:18:48 CEST
(In reply to Kevin Bulgrien from comment #5)
> After the time to check for updates
> is reached, the "Fatal error" relating to $MIRRORLIST occurs.  After
> dismissing four such dialogs in series, the icon turns red.

Could you try these steps and see if this fixes the problem for you?

1) Run drakrpm-editmedia as root.
2) Select all media and remove them.
3) Open the File > Add a specific mirror menu, and select the mirror you want, for instance http://mirrors.kernel.org/mageia/distrib/6/.
4) Click OK.

Probably a reboot is needed for mgaapplet to correctly take these changes into account.
Comment 9 Kevin Bulgrien 2017-07-29 23:44:14 CEST
Ok, well, it is not possible to uncheck anything from the Updates column, but I did uncheck all Enabled.  I'm not sure how this removes media, but I'll take your word for it.  I would have thought "removing media" had more to do with getting urpmq --list-media to return nothing.  With all this recent activity, now I see some 272  media listed by `urpmq --list-media`.  I think this did we did was add more media to urpmi.cfg.  It's starting to look like a mess of duplicates.  in fact, what this did was cause the count to go from 227 to 272... that seems broken somehow.
Comment 10 Kevin Bulgrien 2017-07-30 00:38:30 CEST
I didn't believe that the drakrpm-editmedia suggestion worked because I still got the same Fatal error dialogs (4) afterward, but now I am not entirely sure because I did something else, and get (8) Fatal error dialogs, but the mgaapplet icon is now a blue one that says "Your system is up to date".

What I did was use urpmi.removemedia to remove all media so that `urpmq --list-media` returned nothing,  Then I used `drakrpm-editmedia` to add new media.  I used the "Add" button instead of File > Add though.

As I also saw that `urpmq --list-media` by my desktop user (without wheel access) returned:

$ urpmq --list-media
mirror list not found
Could not find a mirror from mirrorlist $MIRRORLIST

I also added this user (it is the one whose desktop mgaapplet is running in) to the rpms group, but I think this is not related nor effective as `urpmq --list-media` for this user still returns an error.

As my system is presently up-to-date, I don't really know if mgaapplet will update it now, but since the red icon is gone, perhaps the underlying issue is fixed.

The Fatal error dialogs, however, are still a malfunction.  They grab focus from whatever I am doing and I have to repeatedly dismiss multiple dialogs.  These dialogs happen at the interval that mgaapplet tries to check the state of the system.  They should not occur.

I believe that the difference between 4 and 8 dialogs may be related to /etc/urpmi/mediacfg.d/Official-6-x86_64/url.  After doing all of the above, this file has changed.  Sadly I don't have a copy of the original, but I know it is different.  I think it used to look like the following, and though I'm not absolutely sure both final entries were 100% identical, I think they were:

/tmp/image
http://mirrors.kernel.org/mageia/distrib/6/x86_64
http://mirrors.kernel.org/mageia/distrib/6/x86_64

Now the looks like:

tmp/image\nhttp://mirrors.kernel.org/mageia/distrib/6/x86_64\nhttp://mirror.nexcess.net/mageia/distrib/6/x86_64http://mirror.nexcess.net/mageia/distrib/6/x86_64

This looks broken.  Notice the literal \n occurances and the malformed nexcess.net url that seems to have two urls butted up against each other.
Comment 11 Kevin Bulgrien 2017-07-30 05:25:14 CEST
Confirming that after some hours, still no red (?) icon, and blue checkbox icon persists even after mgaapplet checked for updates again - as evidenced by eight (8) more new Fatal error dialogs to click through.  So part of the problem appears to be fixed - presuming that updates apply when more come out.
Comment 12 Kevin Bulgrien 2017-08-02 04:03:46 CEST
mgaapplet is blue checkmark and indicates "Your system is up-to-date", BUT, urpmi tells another story:

$ sudo urpmi --update --auto-select
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch
(medium "Core Updates (distrib3)")
  copy-jdk-configs               2.3          1.mga6        noarch
  cpupower                       4.9.40       1.mga6        x86_64
  gdk-pixbuf2.0                  2.36.7       1.mga6        x86_64
  java-1.8.0-openjdk             1.8.0.141    1.b16.1.mga6  x86_64
  java-1.8.0-openjdk-headless    1.8.0.141    1.b16.1.mga6  x86_64
  kernel-desktop-4.9.40-1.mga6   1            1.mga6        x86_64
  kernel-desktop-devel-4.9.40-1> 1            1.mga6        x86_64
  kernel-desktop-devel-latest    4.9.40       1.mga6        x86_64
  kernel-desktop-latest          4.9.40       1.mga6        x86_64
  kernel-userspace-headers       4.9.40       1.mga6        x86_64
  lib64gdk_pixbuf-gir2.0         2.36.7       1.mga6        x86_64
  lib64gdk_pixbuf2.0_0           2.36.7       1.mga6        x86_64
  lib64graphicsmagick3           1.3.26       1.1.mga6      x86_64
  lib64javascriptcore-gir4.0     2.16.6       1.mga6        x86_64
  lib64javascriptcoregtk4.0_18   2.16.6       1.mga6        x86_64
  lib64pq5.7                     9.4.12       1.1.mga6      x86_64
  lib64webkit2gtk-gir4.0         2.16.6       1.mga6        x86_64
  lib64webkit2gtk4.0_37          2.16.6       1.mga6        x86_64
  rpm-mageia-setup               2.20         9.1.mga6      x86_64
  webkit2                        2.16.6       1.mga6        x86_64
91MB of additional disk space will be used.
113MB of packages will be retrieved.
Proceed with the installation of the 20 packages? (Y/n)
Comment 13 Kevin Bulgrien 2017-08-24 08:06:01 CEST
This problem was originally reported against:

  mgaonline-3.24.1-1.mga6.src.rpm

Progress made as of this point was lost when an update applied:

  mgaonline-3.24.1-1.mga6.src.rpm

In other words, upgrade from mgaonline-3.24.1-1.mga6.src.rpm to mgaonline-3.24.1-1.mga6.src.rpm reverted the state of the system to a red (?) icon again, and once again mgaapplet indicates no sources have been added, so it seems clear there is something broken in the package definition that is to blame.

To re-iterate the problem, no automatic updates take place.  A user must update by other means.  mgaonline will not perform this action.

Furthermore, as long as the system is up, periodically mgaapplet with throw fatal groups of four fatal error dialogs at periodic intervals apparently tied to the configuration that defines how frequently it checks for updates.

Sometimes the fatal error dialogs stay behind an app the user is running, but often they disrupt user activity by grabbing focus away from the application of choice.

In my opinion, in a day and age when security is important, this is a serious issue - even if updating is manually possible.

Source RPM: mgaonline-3.24-1.mga6.src.rpm => mgaonline-3.24.1-1.mga6.src.rpm

Comment 14 Kevin Bulgrien 2018-01-18 19:23:17 CET
Is this intentionally abandoned?
Kevin Bulgrien 2018-01-18 19:23:58 CET

CC: (none) => kbulgrien

Comment 15 Aurelien Oudelet 2020-08-16 15:48:17 CEST
Mageia 6 changed to end-of-life (EOL) status on 2019-09-30. It is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan 
to fix it in a currently maintained version, simply change the 'version' to 
a later Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we 
weren't able to fix it before Mageia 6's end of life. If you are able to 
reproduce it against a later version of Mageia, you are encouraged to click 
on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a more recent
Mageia release includes newer upstream software that fixes bugs or makes them
obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/

Best regards,
Aurélien
Bugsquad Team

Resolution: (none) => OLD
CC: (none) => ouaurelien
Status: NEW => RESOLVED