http://forum.rosalab.ru/en/viewtopic.php?f=12&t=927
Hello guys
Here comes the '2011-->2012 upgrade howto', please test.
- Disclaimer
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
Code: Select all
[root@localhost ~]# urpmi --auto-update
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
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
For 32-bit systems:
Code: Select all
urpmi.addmedia --distrib http://mirror.yandex.ru/rosa/rosa2012lts/repository/i586/
Code: Select all
urpmi.addmedia --distrib http://mirror.yandex.ru/rosa/rosa2012lts/repository/x86_64
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
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
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
Code: Select all
[root@localhost ~]# urpm-reposync
You will then be asked to reinstall some certain packages.
Release Note