Upgrading from Mandriva Linux 2010.1 and 2010.2 is supported, and has been fine tuned over the past months, so it should work. But as always and before:

  • back up your data before upgrading;
  • if you are upgrading a laptop, connect to power! You might be updating over 2000 packages, and this can take some time;
  • do not start up any net-intensive applications during the upgrade – you need to reserve bandwidth for the upgrade.

There are several ways to upgrade from one of those previous Mandriva releases:


Upgrade using the Mageia 1 DVD

You can use the Mageia 1 DVD to do a clean install but also to upgrade from previous releases.

To upgrade:

  • Download the ISO and burn it on a DVD;
  • Boot the DVD and select "Install Mageia 1" from the bootloader menu;
  • Select the "Upgrade" option in the installer.

It is recommended to set up the online repositories, if possible – the installer will ask you about this during the upgrade. The reason is that the DVD only includes a subset of these full fledged online Mageia repositories.


Upgrading inline

You can upgrade using the online media sources directly, from within your Mandriva installation.

This can be done either using the graphical mgaonline tool or the command-line urpmi. Both methods are outlined below. But first, download and install this mgaonline package that will help you through the process:

mgaonline
mgaonline
for Mandriva Linux
2010.1 or 2010.2


Note that you may get a security warning, due to invalid package signatures. This is because a Mandriva system does not recognise Mageia signatures; you can safely ignore these warnings. Yes, that sucks, we know.

So, it installed the package? Good, let's move on and pick a) or b) below:


a) Upgrading inline, using mgaonline (GUI)

Just close your graphical session and log in again. A pop-up window will notify you of the availability of the new Mageia 1 distribution:

mgaonline pop-up

Just follow the wizard instructions; it will configure Mageia media sources and start the migration.

mgaonline pop-up

As soon as the migration is complete, you should restart your system; and here you are.


b) Upgrading inline, using urpmi (CLI)

You can also upgrade using urpmi from your favourite terminal emulator, if you are confortable with it. Here are the steps:

  • Remove all the existing media sources on your system:

    $ su
    # urpmi.removemedia -a

  • Add the Mageia online sources:

    • either directly (this will select a best matching mirror, after your location):

      $ su
      # urpmi.addmedia --distrib --mirrorlist

    • either using a specific media mirror (you can decide from our mirrors list):

      $ su
      # urpmi.addmedia --distrib <media_url>


That's it!


Have a question?

Do not hesitate to join our #mageia IRC channel on Freenode or go in our forum to ask for assistance or details.

Want to send some feedback?

Just tweet it to @mageia_org.