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

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

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

Postby msdobrescu » May 19th, '13, 11:35

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.
Last edited by msdobrescu on May 22nd, '13, 07:59, edited 1 time in total.
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: How to online upgrade from Mga2 to Mga3?

Postby alf » May 19th, '13, 11:43

msdobrescu wrote:but I can't find mageia-prepare-upgrade package anywhere


will be found in core updates testing repository
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: How to online upgrade from Mga2 to Mga3?

Postby msdobrescu » May 19th, '13, 11:55

If I use the GUI package manager, it won't find it.
urpmi found it.
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: How to online upgrade from Mga2 to Mga3?

Postby msdobrescu » May 19th, '13, 13:49

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.
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: How to online upgrade from Mga2 to Mga3?

Postby sander85 » May 19th, '13, 14:48

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.
Stand for something, or you will fall for nothing.
-- Richard Stallman
User avatar
sander85
 
Posts: 88
Joined: Jan 28th, '12, 20:41
Location: Estonia

Re: How to online upgrade from Mga2 to Mga3?

Postby msdobrescu » May 19th, '13, 16:51

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...
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28


Re: How to online upgrade from Mga2 to Mga3?

Postby msdobrescu » May 20th, '13, 09:01

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.
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: How to online upgrade from Mga2 to Mga3?

Postby Ken-Bergen » May 20th, '13, 10:18

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.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: How to online upgrade from Mga2 to Mga3?

Postby doktor5000 » May 20th, '13, 10:26

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to online upgrade from Mga2 to Mga3?

Postby msdobrescu » May 20th, '13, 12:19

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.
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: How to online upgrade from Mga2 to Mga3?

Postby doktor5000 » May 20th, '13, 12:34

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to online upgrade from Mga2 to Mga3?

Postby msdobrescu » May 20th, '13, 12:47

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.
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

mageia 2 to mageia 3 upgrade

Postby varun_saa » May 20th, '13, 13:05

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
varun_saa
 
Posts: 54
Joined: May 14th, '12, 04:14

Re: mageia 2 to mageia 3 upgrade

Postby doktor5000 » May 20th, '13, 13:08

You could have looked at the existing posts on the topic. For me and others it worked quite well.
Merging with existing thread.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to online upgrade from Mga2 to Mga3?

Postby doktor5000 » May 20th, '13, 13:10

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to online upgrade from Mga2 to Mga3?

Postby msdobrescu » May 20th, '13, 13:15

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?
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: How to online upgrade from Mga2 to Mga3?

Postby jkerr82508 » May 20th, '13, 14:52

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
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: How to online upgrade from Mga2 to Mga3?

Postby msdobrescu » May 20th, '13, 21:46

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?
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: How to online upgrade from Mga2 to Mga3?

Postby davidwhodgins » May 20th, '13, 22:52

Unless you installed with the nodeps option, the packages wouldn't have installed, if any of the dependencies were missing.
davidwhodgins
 
Posts: 47
Joined: Nov 18th, '11, 05:14

Re: How to online upgrade from Mga2 to Mga3?

Postby doktor5000 » May 20th, '13, 23:37

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to online upgrade from Mga2 to Mga3?

Postby msdobrescu » May 21st, '13, 07:33

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?
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: How to online upgrade from Mga2 to Mga3?

Postby doktor5000 » May 21st, '13, 13:08

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)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to online upgrade from Mga2 to Mga3?

Postby msdobrescu » May 21st, '13, 13:25

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?
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: How to online upgrade from Mga2 to Mga3?

Postby doktor5000 » May 21st, '13, 13:31

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Next

Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest