How-to upgrade Mandriva / ROSA 2011 -> ROSA 2012

About ROSA Desktop distribution and help to users
Post Reply
User avatar
rugyada
Amministratore
Amministratore
Posts: 1562
Joined: 14 July 2008, 22:58
ROSA: ROSA.Fresh R8 64bit
OpenMandriva: OMLx 4.2
Kernel: kernel-release
Desktop: KDE tutta la vita
country: Italy

How-to upgrade Mandriva / ROSA 2011 -> ROSA 2012

Post by rugyada »

From: Rosa Forum
http://forum.rosalab.ru/en/viewtopic.php?f=12&t=927


Hello guys :)
Here comes the '2011-->2012 upgrade howto', please test.

  • Disclaimer
If you wanna get a guaranteed 99% working and reliable operating system, best way to do it is to reinstall a system from scratch. It is important, because ROSA 2012 has a long-time support status.
Upgrade from ROSA/Mandriva - 2011 is also supported because of a small amount of differences in a code base between new and old releases.
This HOWTO describes sequence, that is necessary to upgrade the system from previous release, but it does not guarantee its 100% success in overwhelming majority of cases.

  • Before update
Before planning migration to a new ROSA-2012 release, it’s essential to perform regular system update by installing all the necessary updates. It can be done via GUI applet or from command-line:

Code: Select all

[root@localhost ~]# urpmi --auto-update
Before upgrading it’s essential to read official Release Notes, that contain useful information about the changes in a new release and also Errata. Attentive and thoughtful reading of release notes can protect you from huge harm.
It’s also necessary to make sure that it’s enough space on a hard disc. During release upgrade all packages will be downloaded to a /var/cache/urpmi. Total amount of packages to download depends on amount of the soft, installed in your system. Usually it is from 4 to 7 Gb.

  • Upgrade process
So, if previous steps had been completed successfully, it’s time to start upgrading. Upgrading system between releases is recommended to make with help of a command line utilities. To do it, open terminal and switch to root console. You can do it either by running Konsole (or any other terminal emulator you prefer) via KDE menu or by choosing “Open a console as a administrator” in “Configure Your Computer” utility.
First thing you have to do is to remove information about old repositories. It can be performed via a following command:

Code: Select all

[root@localhost ~]# urpmi.removemedia -a
Then add to urpmi repository of the release to which we want to update (as an example we use updating from Yandex mirror):

For 32-bit systems:

Code: Select all

urpmi.addmedia --distrib http://mirror.yandex.ru/rosa/rosa2012lts/repository/i586/
For 64-bit systems:

Code: Select all

urpmi.addmedia --distrib http://mirror.yandex.ru/rosa/rosa2012lts/repository/x86_64 
Attention! The command given above should be entered in one line!
This command will add all the repositories of new release. Then we need to perform an update to a new release:

Code: Select all

[root@localhost ~]# urpmi --wget --download-all --auto-update
--wget option makes urpmi to use wget for packages’ downloading. aria2 (used by default), that is not quite correct sometimes.
When using --download-all option, urpmi primarily downloads all the packages and starts to install them only after that. This is a strongly recommended option when updating release using urpmi, because it’s necessary to download and update a lot of packages. On default urpmi downloads and installs packages partially, in groups. If there will be problems with internet-connection during update, you can have a partially updated system with this operation scheme that will not work properly. If work at all.
If you only need to download updates to install them later ( e.g. to update system at a later time), you need to add --no-install option.
When running an upgrade process first thing that urpmi will do is updating itself with all dependencies (perl-packages and new urpmi version) and glibc.
In case of success urpmi will restart itself and suggest further updating of other packages. It will then list packages to be deleted (this is regular when upgrading from one distribution to another). If you accept that and go on with updating, you will see list of packages on your monitor that need to be updated, their total amount and quantity of free disc space, that is necessary for the downloading. Next you have to make sure that you actually have this free space in /var/cache/urpmi. If downloading was difficult because of errors, connected to insufficient internet-connection, you can restart upgrading with a following command line:

Code: Select all

[root@localhost ~]# urpmi --wget --auto --auto-select
The latter operation (packages downloading and installation) will take a long period, so you only have to cross your fingers and wait for a while.
After a successful installation of packages in boot loader menu you will see an item «ROSA Marathon 2012», which allows to start a new system.

  • Optional step
It is recommended to synchronize a system with current repositories after updating. To do it open terminal emulator (Konsole on default), and enter the following line:

Code: Select all

[root@localhost ~]# urpm-reposync
Note: you may need to install urpm-tools package to start the program.
You will then be asked to reinstall some certain packages.


Release Note
Image
ciauu ciauu, ruru

MIB... e le stelle stanno a guardare.
«E' bello avere delle certezze, tipo la terra gira, il sole è caldo, se ti prendi con quelli del MIB vieni fanculizzato. Cose semplici, in fondo» (M.C.)

User avatar
oiram73
Utente senior
Utente senior
Posts: 405
Joined: 5 January 2009, 13:33
ROSA: -
OpenMandriva: 2014
Kernel: 3.19.8-nrjQL-realtim
Desktop: KDE 4.14.3
country: Italia
Location: Perugia
Contact:

Re: How-to upgrade Mandriva / ROSA 2011 -> ROSA 2012

Post by oiram73 »

Wow! :D :D
Thank you! :lol: :lol:
OMA-2014
oiram/bin/selom
Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni!

User avatar
fraterlinux
Utente junior
Utente junior
Posts: 18
Joined: 20 October 2011, 23:20
OpenMandriva: 2011
Kernel: kernel-nrj-pae-deskt
Desktop: KDE4
country: BRASIL

Re: How-to upgrade Mandriva / ROSA 2011 -> ROSA 2012

Post by fraterlinux »

What will be the replacement of the PLF and PWP repositories ?

User avatar
fraterlinux
Utente junior
Utente junior
Posts: 18
Joined: 20 October 2011, 23:20
OpenMandriva: 2011
Kernel: kernel-nrj-pae-deskt
Desktop: KDE4
country: BRASIL

Re: How-to upgrade Mandriva / ROSA 2011 -> ROSA 2012

Post by fraterlinux »

High CPU use in KDE 4.8.2

After upgrade from Mandriva 2011 to Rosa 2012 noticed that the CPU running with only KDE is never below 25%. Before upgrading was around 5%. Has anyone noticed this problem and managed to solve? Nepomuk and Akonadi are already disabled!

Post Reply