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

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

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

Postby Cae » Jan 27th, '13, 09:13

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.
Cae
 
Posts: 12
Joined: May 1st, '11, 02:52

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

Postby martinw » Jan 27th, '13, 11:55

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.
Last edited by martinw on Jan 27th, '13, 12:58, edited 1 time in total.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

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

Postby leuhmanu » Jan 27th, '13, 11:57

Yes, you will only need to switch from the cauldron repositories channel to the future Mageia 3 one.
Help the bugsquad !
User avatar
leuhmanu
 
Posts: 71
Joined: Mar 16th, '11, 00:21
Location: Alsace, France

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

Postby Cae » Jan 27th, '13, 12:02

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?
Cae
 
Posts: 12
Joined: May 1st, '11, 02:52

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

Postby martinw » Jan 27th, '13, 12:51

'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
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

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

Postby doktor5000 » Jan 27th, '13, 15:17

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 :)
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: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron