Page 1 of 1

How to transit from Mageia 3 Beta 2 -> Mageia 3 Stable ?

PostPosted: Jan 27th, '13, 09:13
by Cae
Hoping to skip a reinstall when Mageia 3 is out; I will be installing Mageia 3 Beta 2 into a computer instead of Mageia 2.

When Mageia 3 is finally out, is there any reconfiguration (eg of repositories) that needs to be done so that I will be using Release instead of Cauldron.

Re: How to transit from Mageia 3 Beta 2 -> Mageia 3 Stabl

PostPosted: Jan 27th, '13, 11:55
by martinw
Yes. Once Mageia 3 is out, go to http://mirrors.mageia.org/distrib, select '3' and the appropriate architecture (i586 or x86_64) from the drop down boxes, and pick one of the URLs it gives you. Then, as root in a terminal window, execute the following commands:
Code: Select all
urpmi.removemedia -a
urpmi.addmedia --distrib <mirror url>
urpmi --auto-update -v

replacing <mirror url> with the URL you picked.

EDIT: I should add that it is important to do this before performing any other software updates once Mageia 3 is released. After the release, cauldron will again become the unstable development branch.

Re: How to transit from Mageia 3 Beta 2 -> Mageia 3 Stabl

PostPosted: Jan 27th, '13, 11:57
by leuhmanu
Yes, you will only need to switch from the cauldron repositories channel to the future Mageia 3 one.

Re: How to transit from Mageia 3 Beta 2 -> Mageia 3 Stabl

PostPosted: Jan 27th, '13, 12:02
by Cae
Thanks for the info, got that .

Assuming I am using the main, non-free and tainted repostories, will a
Code: Select all
urpmi.addmedia --distrib <mirror url>
update all repos?

or do I need to manually tweak some config files?

Re: How to transit from Mageia 3 Beta 2 -> Mageia 3 Stabl

PostPosted: Jan 27th, '13, 12:51
by martinw
'urpmi.addmedia --distrib' adds the full set of repositories (exactly the same as using the "Add" button in the Configure Media GUI). If you want more control, instead of using the '--distrib' option, you can add repositories one by one. For example, what I normally do is:
Code: Select all
set RELEASE=2
set MIRROR=ftp://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/$RELEASE
urpmi.addmedia --mirrorlist $MIRROR/x86_64 "Core Release" media/core/release
urpmi.addmedia --mirrorlist $MIRROR/x86_64 "Core Updates" media/core/updates --update
urpmi.addmedia --mirrorlist $MIRROR/x86_64 "Nonfree Release" media/nonfree/release
urpmi.addmedia --mirrorlist $MIRROR/x86_64 "Nonfree Updates" media/nonfree/updates --update
urpmi.addmedia --mirrorlist $MIRROR/x86_64 "Tainted Release" media/tainted/release
urpmi.addmedia --mirrorlist $MIRROR/x86_64 "Tainted Updates" media/tainted/updates --update
urpmi.addmedia --mirrorlist $MIRROR/i586 "Core 32bit Release" media/core/release
urpmi.addmedia --mirrorlist $MIRROR/i586 "Core 32bit Updates" media/core/updates --update

Re: How to transit from Mageia 3 Beta 2 -> Mageia 3 Stabl

PostPosted: Jan 27th, '13, 15:17
by doktor5000
Cae wrote:will a
Code: Select all
urpmi.addmedia --distrib <mirror url>
update all repos?


It will not update any repo, it will just add new ones to the existing ones. See the instructions from martinw: viewtopic.php?p=30377#p30377
The first command removes all repos, the second adds new ones, and the third updates all currently installed packages from all enabled repos.

EDIT: He was faster :)