[SOLVED] Switching from RC to stable

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[SOLVED] Switching from RC to stable

Postby martinw » Jun 2nd, '11, 18:41

Could someone advise on the best way to switch an RC installation to use the stable repositories. Based on Anne's post on switching to cauldron, I thought I could do this by:
Code: Select all
urpmi http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/1/x86_64/media/core/release/mageia-release-common-1-2.mga1.x86_64.rpm

but that just resulted in the following error messages:
Code: Select all
removing package basesystem-minimal-1-3.mga1.x86_64 will break your system
The installation cannot continue because the following packages
have to be removed for others to be upgraded:
basesystem-1-3.mga1.x86_64
 (due to missing basesystem-minimal)
basesystem-minimal-1-3.mga1.x86_64
 (due to unsatisfied mageia-release >= 1)
drakconf-12.21.6-1.mga1.noarch
 (due to missing mandriva-release)
mageia-release-Default-1-0.9.mga1.x86_64
 (due to conflicts with mageia-release-common-1-2.mga1.x86_64)
openoffice.org3.3-mandriva-menus-3.3-9556.noarch
 (due to missing mandrake-release)
openoffice.org3.3-redhat-menus-3.3-9556.noarch
 (due to missing redhat-release)
rpm-build-4.8.1-10.mga1.x86_64
 (due to unsatisfied rpm-mageia-setup-build >= 1.34)
rpm-mageia-setup-build-1.130-1.mga1.x86_64
 (due to missing mageia-release)
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Switching from RC to stable

Postby dglent » Jun 2nd, '11, 19:17

The only way i know to do it is to change the sources from cauldron to 1
This i did in my system
User avatar
dglent
 
Posts: 186
Joined: Mar 30th, '11, 07:04
Location: Paris region, France

Re: Switching from RC to stable

Postby martinw » Jun 3rd, '11, 09:53

Thanks dglent. I was hoping there was a simpler way than manually changing all the sources.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Switching from RC to stable

Postby dglent » Jun 3rd, '11, 10:37

You can delete the sources and add the new automatically by the button on the right 'Add' and after 'full set of sources'
'i did that in my system and worked. It added the 1 sources and not the cauldron's
User avatar
dglent
 
Posts: 186
Joined: Mar 30th, '11, 07:04
Location: Paris region, France

Re: Switching from RC to stable

Postby martinw » Jun 3rd, '11, 19:11

Hmm, that was the first thing I tried, but I just got cauldron sources again. Just tried again, with the same result:
Code: Select all
# urpmq --list-url
Core media cdrom://x86_64/media/core
Core Release (distrib1) rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/media/core/release
...

Time to start digging through the rpmdrake perl scripts to see how it decides on which sources to use, I guess.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Switching from RC to stable

Postby ahmad » Jun 3rd, '11, 21:45

How do you add the sources?
ahmad
 
Posts: 336
Joined: Mar 22nd, '11, 20:18
Location: Egypt

Re: Switching from RC to stable

Postby martinw » Jun 3rd, '11, 22:40

Like dglent said, in MCC->Software Management->Configure media sources, deleted existing sources, then clicked on the 'Add' button and selected 'Full set of sources'. In MCC the sources are just shown as $MIRRORLIST, so I used urpmq to check what the URLs were.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Switching from RC to stable

Postby ahmad » Jun 4th, '11, 00:34

The release notes are wrong https://bugs.mageia.org/show_bug.cgi?id=1568

You can add a mirror manually, via urpmi;
- go to http://mirrors.mageia.org/distrib
- make sure the first box is set to 1 , i.e Mageia 1
- select the arch. of your installation (i586 or x86_64) then click Submit Query
- from the list that'll appear, pick a mirror and add it
Code: Select all
urpmi.addmedia --distrib <mirror_url>

- make sure you have enough free disk space on the root / partition (or where ever /var is mounted), say 2-3GB
- upgrade:
Code: Select all
urpmi --auto-update -v

don't reboot until it's finished upgrading.

Edit: corrected typo in the urpmi.addmedia command line above.
ahmad
 
Posts: 336
Joined: Mar 22nd, '11, 20:18
Location: Egypt

Re: Switching from RC to stable

Postby martinw » Jun 4th, '11, 21:17

Thanks Ahmad, I thought there must be an easy way to do this. The only slight annoyance is that I had to uninstall OpenOffice first and reinstall it afterwards, because the auto update wanted to replace it with LibreOffice. Hope this isn't going to happen every time I update!

In case anyone else wants to follow these instructions, there is a small typo. The first command should be:
Code: Select all
urpmi.addmedia --distrib <mirror_url>
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Switching from RC to stable

Postby ahmad » Jun 5th, '11, 06:07

martinw wrote:The only slight annoyance is that I had to uninstall OpenOffice first and reinstall it afterwards, because the auto update wanted to replace it with LibreOffice. Hope this isn't going to happen every time I update!

It will happen every time you update, libreoffice packages obsolete openoffice.org; if you really wanna stick with openoffice.org, you'll have to add libreoffice to the urpmi skip.list:
Code: Select all
su
echo "/^libreoffice/" >> /etc/urpmi/skip.list


Out of curiosity, any reason to prefer openoffice.org to libreoffice? any missing features.. etc?
ahmad
 
Posts: 336
Joined: Mar 22nd, '11, 20:18
Location: Egypt

Re: Switching from RC to stable

Postby martinw » Jun 5th, '11, 12:09

Thanks for the info, Ahmad. I'd forgotten about the urpmi skip list - haven't needed to use it for a long time!

My primary reason for prefering OpenOffice to LibreOffice is that LibreOffice has a significant bug in PDF export that I can't work round (I have reported this upstream - we'll see if it ever gets fixed). But also past experience is that the vanilla build from OpenOffice.org has always been more stable than the patched versions provided in Linux distros.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest

cron