Page 1 of 2

[SOLVED] How to online upgrade from Mga2 to Mga3?

PostPosted: May 19th, '13, 11:35
by msdobrescu
Hello,

I would like to upgrade from Mageia 2 to 3 by using urpmi.
I have pppoe connection to Internet (meaning it could need to connect to the Internet during the boot uppgrade procedure).

My system is fully up to date, but I can't find mageia-prepare-upgrade package anywhere.

Where should I start?

Thank you.

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 19th, '13, 11:43
by alf
msdobrescu wrote:but I can't find mageia-prepare-upgrade package anywhere


will be found in core updates testing repository

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 19th, '13, 11:55
by msdobrescu
If I use the GUI package manager, it won't find it.
urpmi found it.

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 19th, '13, 13:49
by msdobrescu
OK, as I have expected, the Internet connection failed at a certain moment.
Why? COuld it be a firewall?
I can't tell. Any help appreciated.

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 19th, '13, 14:48
by sander85
msdobrescu wrote:OK, as I have expected, the Internet connection failed at a certain moment.
Why? COuld it be a firewall?
I can't tell. Any help appreciated.


During online upgrade you should choose to first download all packages and then start upgrade. This will make sure that you have all the packages needed for upgrade and internet connection is not that important. It's quite possible that during upgrade internet connection may go down as some related packages are upgraded.

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 19th, '13, 16:51
by msdobrescu
Oh, always too late.
There was no info on wiki, so an unexperienced user fails upgrading.
Still, there is much left to learn from rolling release distros, like this kind of upgrades that come so naturally and flawlessly to them.
Now I am upgrading using the DVD, which takes ages. It shows there are more than 15 hours left. It 'thinks' for 15 miuntes, then applies some packages...
It's an Intel Atom after all... but still...

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 00:12
by davidwhodgins

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 09:01
by msdobrescu
The DVD upgrade didn't do it properly.
The system is fully operable, which is weird, considering it is a mixture of mga2 and mga3 packages.
I try to perform a full upgrade of the packages, using the urpmi command.
It says the DVD medium is fully upgraded, after a check, then it asks for it to be mounted. Of course it is mounted. That's a little schizophrenic. I have removed it from the media and I perform an online upgrade again. It will take some hours, as the download is slow for some packages.

Still an amazing OS. An amazing distro.

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 10:18
by Ken-Bergen
msdobrescu wrote:The DVD upgrade didn't do it properly.
The system is fully operable, which is weird, considering it is a mixture of mga2 and mga3 packages.
I find nothing odd about that.
The install DVD at 3.8GB contains only a small part of the distribution.
Any package installed on your Mageia2 system not included on the DVD will of course not be upgraded.
As you say the system boots and you're able to update the rest of the packages from the online repositories I would call it a success.

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 10:26
by doktor5000
Ken-Bergen wrote:Any package installed on your Mageia2 system not included on the DVD will of course not be upgraded.
As you say the system boots and you're able to update the rest of the packages from the online repositories I would call it a success.


Which is already mentioned in the release notes https://wiki.mageia.org/en/Mageia_3_Rel ... m_Mageia_2

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 12:19
by msdobrescu
Of course, but there were about 1300 packages left to be upgraded, which makes me wonder...
I have specified to do online upgrades too, in the installer. It did nothing at that step and no error was displayed.

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 12:34
by doktor5000
Uhmm, and what?
For packaging i've installed also many other libraries and stuff on mga2, and after the offline DVD upgrade i also needed to update 1200 packages. Where's the deal?

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 12:47
by msdobrescu
The deal is that I have added media for online upgrade and it still did not see them. Only urpmi does.
It leaves you with the feeling that everything is upgraded and it is not right.
A good cleanup tool is needed - at least one that could make a list with what's left to be replaced anyhow.

mageia 2 to mageia 3 upgrade

PostPosted: May 20th, '13, 13:05
by varun_saa
Hello ,

I have downloaded the 32bit mageia 3 DVD .

I would like to upgrade using the DVD from
mageia 2 to mageia 3 .

Anybody tried ? Any issues ?

I remember it never properly with Mandriva.

Thanks

Varun

Re: mageia 2 to mageia 3 upgrade

PostPosted: May 20th, '13, 13:08
by doktor5000
You could have looked at the existing posts on the topic. For me and others it worked quite well.
Merging with existing thread.

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 13:10
by doktor5000
msdobrescu wrote:A good cleanup tool is needed - at least one that could make a list with what's left to be replaced anyhow.

Maybe with
Code: Select all
urpmq --not-available
if you have a full set of repos and tainted and nonfree enabled.

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 13:15
by msdobrescu
OK, I become paranoid...
Why don't all the tools, either command line or GUI, perform in the same manner?
Why urpmi finds the upgrades and the GUI doesn't?

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 14:52
by jkerr82508
msdobrescu wrote:Why urpmi finds the upgrades and the GUI doesn't?

Probably because MageiaUpdate looks only in "updates" repo's but urpmi (and rpmdrake) will find updates in all enabled repo's. If you use "Install & Remove Software" and set the first filter to "All updates", you should see them all listed.

Jim

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 21:46
by msdobrescu
jkerr82508 wrote:
msdobrescu wrote:Why urpmi finds the upgrades and the GUI doesn't?

Probably because MageiaUpdate looks only in "updates" repo's but urpmi (and rpmdrake) will find updates in all enabled repo's. If you use "Install & Remove Software" and set the first filter to "All updates", you should see them all listed.

Jim


No, it doesnt.

Now, how could I check wether installed packages have all their dependencies also present?

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 22:52
by davidwhodgins
Unless you installed with the nodeps option, the packages wouldn't have installed, if any of the dependencies were missing.

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 20th, '13, 23:37
by doktor5000
For suggests, you can easily check if you have all suggested packages installed like e.g. proposed in https://qa.mandriva.com/show_bug.cgi?id=36997#c8

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 21st, '13, 07:33
by msdobrescu
Last night I have finished installing all the packages left and removed the old mga2 packages.
Are there some mga1 and mga2 packages in the repos of mga3?

Right now I am a bit tired, or dumbed down, so I understand nothing from that bug... Anyway, given the link, what is the Mandriva relation to the Mageia? Do Mageia still inherit bugs from Mandriva, isn't it?

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 21st, '13, 13:08
by doktor5000
msdobrescu wrote:Are there some mga1 and mga2 packages in the repos of mga3?

Unfortunately yes. But how does that matter?

msdobrescu wrote:Do Mageia still inherit bugs from Mandriva, isn't it?

Yes, many of the longstanding Mandriva bugs and feature requests have never been fixed, this is one example
(although more a feature request than a real bug)

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 21st, '13, 13:25
by msdobrescu
If you ask me, I would do a full rebuild of these packages (mga1 and mga2) with the 3 as suffix and this would mean they were built, tested and accepted as mga3 packages.
Then, we could track the remaining packages of the old version (1 or 2) easily.
I use Sabayon too, so I am used to upgrade online all the time. Mageia is not a rolling release, but this kind of deployment is really effective.

Concerning the bugs, did Mageia import all the bugs from Mandriva in its own bugzilla (or any similar bug management tool)? If not, do you plan so? What if Mandriva closes them?

Re: How to online upgrade from Mga2 to Mga3?

PostPosted: May 21st, '13, 13:31
by doktor5000
msdobrescu wrote:If you ask me, I would do a full rebuild of these packages (mga1 and mga2) with the 3 as suffix and this would mean they were built, tested and accepted as mga3 packages.

Check https://wiki.mageia.org/en/Mageia_3_Rel ... ss_rebuild

msdobrescu wrote:Concerning the bugs, did Mageia import all the bugs from Mandriva in its own bugzilla (or any similar bug management tool)? If not, do you plan so? What if Mandriva closes them?

No, what is the point of importing all those bugs if they are not relevant anymore, or were never valid?
If the bug persits, report it against Mageia. Then it only needs a maintainer or packager who has time and knowledge to solve it.