Page 1 of 1

upgrade to mga3 not fully complete

PostPosted: Jul 11th, '13, 14:35
by dfnkt
Hey guys,

I had difficulties upgrading from 2 to 3, took me about 6 retries before it went through all the way (and I didn't change much during that). Anyway, managed to get a fully working system, a few glitches on startup/reboot, but the rest works fine. Except, a week later I got a message saying "New version available - Mageia 3".. :) So, yeah, it keeps doing that every now and then. Can someone tell me how to complete the installation so that it recognizes itself as 3? All the packages have been updated, I'm not sure where to look.

Thanks.

Re: upgrade to mga3 not fully complete

PostPosted: Jul 11th, '13, 16:47
by jkerr82508
If all packages are up to date after you have enabled all of the repo's that you use (nonfree and tainted may not be enabled automatically) and you have run
Code: Select all
urpmi --auto-update
a couple of times and re-booted, then it should stop asking. If it does not, then check in your home directory for the file /.MgaOnline/mgaonline
if that file exists and contains a line:
Code: Select all
DO_NOT_ASK_FOR_DISTRO_UPGRADE=false
delete that line.

It should not be necessary, but you can force it to stop asking by editing /etc/sysconfig/mgaapplet and changing the line
Code: Select all
DO_NOT_ASK_FOR_DISTRO_UPGRADE=false
to
Code: Select all
DO_NOT_ASK_FOR_DISTRO_UPGRADE=true
Note that this latter change will mean that you will not be alerted when Mageia 4 is released.

Jim

Edit: I believe that mgaapplet checks /etc/product.id to find out what version you are running. That file should indicate that your version is "3". If it does not then you should re-install the package mageia-release-Default

Re: upgrade to mga3 not fully complete

PostPosted: Jul 11th, '13, 17:18
by dfnkt
Thanks Jim.

~/.MgaOnline/mgaonline did have that line, but isn't that just a switch to prevent for checking for a newer version, which would still compare against product.id? I removed it, let's see if it happens again (only happens once a week or so).

/etc/product.id says 3.
mageia-release-Default-3-1.mga3 is installed.

Re: upgrade to mga3 not fully complete

PostPosted: Jul 11th, '13, 18:55
by jkerr82508
I'm not certain, but I think that the line in your home directory will result in the applet offering to upgrade, whether or not it has checked that there really is an upgrade available. Without that line in your home directory the applet will check first and if it finds that your system is up to date will not offer to upgrade. I'm not sure of the actual mechanics of this but deleting that line (or the entire file mdkonline) does seem to usually have the desired effect. :)

Jim