Bug 16173 - Remove any /home/*/.MgaOnline/mgaonline during install or upgrade, so a forgotten choice can't block the notification when there's a newer Mga version
Summary: Remove any /home/*/.MgaOnline/mgaonline during install or upgrade, so a forgo...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-22 13:50 CEST by Dave Hodgins
Modified: 2017-03-29 08:10 CEST (History)
4 users (show)

See Also:
Source RPM: drakx-installer-stage2 mgaonline
CVE:
Status comment:


Attachments

Description Dave Hodgins 2015-06-22 13:50:48 CEST
In order to get the upgrade option to show on my x86_64 system, I had to
manually edit /etc/sysconfig/mgaapplet and add the line
DO_NOT_ASK_FOR_DISTRO_UPGRADE=FALSE
Using mgaapplet-config either with the option checked, or not checked, the
upgrade option doesn't show.

With the same line added on my i586 system, the option still doesn't show up.


Reproducible: 

Steps to Reproduce:
Comment 1 Dave Hodgins 2015-06-23 19:59:58 CEST
Also, on the x86_64 system, the x86_64 system did not show the upgrade option
after a shutdown/restart (power was out due to a thunderstorm). Once I
killed and restarted mgaapplet the upgrade option reappeared.

This is 14 hours after the restart.
Comment 2 Otto Leipälä 2015-06-26 08:20:57 CEST
It needs to be done manually as i looked mcc update settings there is no stick in box says check for new Mageia release.

CC: (none) => ozkyster

Comment 3 Dave Hodgins 2015-07-03 07:51:30 CEST
(In reply to Otto Leipälä from comment #2)
> It needs to be done manually as i looked mcc update settings there is no
> stick in box says check for new Mageia release.

The option is in mgaapplet-config, but isn't working.

Regards, Dave Hodgins
Manuel Hiebel 2015-07-04 23:30:30 CEST

Assignee: bugsquad => thierry.vignaud

Dave Hodgins 2015-08-14 08:34:31 CEST

Priority: Normal => High

Comment 4 Neo Futur 2015-08-14 10:56:53 CEST
[neofutur@x220 ~]$ cat /etc/sysconfig/mgaapplet
FIRST_CHECK_DELAY=900000
UPDATE_FREQUENCY=86400

and the option is not being shown here

CC: (none) => mageia.org

Comment 5 Otto Leipälä 2015-08-15 09:47:17 CEST
(In reply to Dave Hodgins from comment #3)
> (In reply to Otto Leipälä from comment #2)
> > It needs to be done manually as i looked mcc update settings there is no
> > stick in box says check for new Mageia release.
> 
> The option is in mgaapplet-config, but isn't working.
> 
> Regards, Dave Hodgins

Mcc have that integrated mgaapplet-config named as update settings.
You misunderstanded my point as i meant there is option where you can put stick to box says check for new release.

https://www.dropbox.com/s/bh35mplakbypvtr/mcc.png?dl=0
Rémi Verschelde 2015-08-15 10:02:58 CEST

Severity: normal => major

Comment 6 Dave Hodgins 2015-08-17 19:57:51 CEST
(In reply to Otto Leipälä from comment #5)
> (In reply to Dave Hodgins from comment #3)
> > (In reply to Otto Leipälä from comment #2)
> > > It needs to be done manually as i looked mcc update settings there is no
> > > stick in box says check for new Mageia release.
> > 
> > The option is in mgaapplet-config, but isn't working.
> > 
> > Regards, Dave Hodgins
> 
> Mcc have that integrated mgaapplet-config named as update settings.
> You misunderstanded my point as i meant there is option where you can put
> stick to box says check for new release.
> 
> https://www.dropbox.com/s/bh35mplakbypvtr/mcc.png?dl=0

The problem is that on Mageia 4 it does not have any affect.
Comment 7 James Kerr 2015-08-18 01:08:11 CEST
FWIW on all of the systems that I support (including three that are i586) the blue distro upgrade icon did appear.

The option in MCC will only change the global setting and not the user setting.

Check for a file ~/.MgaOnline/mgaonline. The setting in that file will override the global setting in /etc/sysconfig/mgaapplet for the affected user. This file may exist if your mga4 was upgraded from mga3.
Comment 8 Dave Hodgins 2015-08-18 04:38:27 CEST
$ cat /home/dave/.MgaOnline/mgaonline 
DO_NOT_ASK_FOR_DISTRO_UPGRADE=false

Should I remove the file?
Comment 9 James Kerr 2015-08-18 09:49:55 CEST
It would be worth a try. So far as I know, it does not exist until the user causes it to be created by selecting "Don't ask me again" in the distro upgrade dialogue.
Comment 10 James Kerr 2015-08-18 10:01:26 CEST
It may be that to be sure that the distro upgrade check works it is necessary to delete /.MgaOnline/mgaonline, if it exists, and remove the line about distro upgrade from /etc/sysconfig/mgaapplet. Selecting the option to check for new distro versions in MCC seems to do the latter but not the former.
Comment 11 James Kerr 2015-08-18 10:19:07 CEST
If you have a directory /.MgaOnline in /root I would check there also.
Although I don't recall ever seeing that directory populated.
Comment 12 Dave Hodgins 2015-08-18 19:15:30 CEST
I removed the ~/.MgaOnline directory, and the line from sysconfig/mgaapplet.
Restarted mgaapplet, and now it is showing the option to upgrade. Thanks.
As an update can't alter things in /home, I think just adding the info to
a blog post will have to be enough for this bug report.
Comment 13 Florian Hubold 2015-08-19 00:03:04 CEST
(In reply to Dave Hodgins from comment #12)
> As an update can't alter things in /home, I think just adding the info to
> a blog post will have to be enough for this bug report.

Maybe add the information to mga4 Errata / mga5 Release Notes wiki pages, and then spread the word via a blog post?

CC: (none) => doktor5000

Comment 14 Florian Hubold 2015-08-19 00:03:11 CEST
(In reply to Dave Hodgins from comment #12)
> As an update can't alter things in /home, I think just adding the info to
> a blog post will have to be enough for this bug report.

Maybe add the information to mga4 Errata / mga5 Release Notes wiki pages, and then spread the word via a blog post?
Comment 15 James Kerr 2015-08-21 11:21:21 CEST
I've added the instructions to the mga5 Release Notes.
 
https://wiki.mageia.org/en/Mageia_5_Release_Notes#Upgrading_online.2C_using_mgaonline_.28GUI.29
Comment 16 Samuel Verschelde 2015-09-21 13:19:41 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is 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 4'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. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

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/
Comment 17 Marja Van Waes 2015-09-28 17:15:18 CEST
(In reply to James Kerr from comment #15)
> I've added the instructions to the mga5 Release Notes.
>  
> https://wiki.mageia.org/en/Mageia_5_Release_Notes#Upgrading_online.
> 2C_using_mgaonline_.28GUI.29

Thanks, James.

Changing the summary into:
Remove any /home/*/.MgaOnline/mgaonline during install or upgrade, so a forgotten choice can't block the notification when there's a newer Mga version

and changing this bug into a cauldron enhancement request for stage2 (or mgaonline, if it is better handled there)

Priority: High => Normal
CC: (none) => marja11
Component: RPM Packages => Installer
Version: 4 => Cauldron
Summary: Upgrade option is not being shown => Remove any /home/*/.MgaOnline/mgaonline during install or upgrade, so a forgotten choice can't block the notification when there's a newer Mga version
Source RPM: mgaonline-3.10.1-1.mga4.src.rpm => drakx-installer-stage2 mgaonline
Severity: major => enhancement

Marja Van Waes 2017-03-29 08:10:56 CEST

Assignee: thierry.vignaud => mageiatools


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