Ahmad, I have done some experimentation upgrading a virgin installation of Mandriva 2010.2 in a VirtualBox
1/ There is a problem with the spec file of mgaonline-2.77.29-1mga on line 91
- Code: Select all
89 %post
90 grep -q pi.mandriva.com/mirror /usr/lib/perl5/vendor_perl/5.*/urpm/mirrors.pm && \
91 perl -pi -i.bak -e '$_ = "\t\"http://mirrors.mageia.org/api/mageia.\$product_version.\$arch.list\"\n" if m!https://api.mandriva.com/mirrors/!' \
92 /usr/lib/perl5/vendor_perl/5.*/urpm/mirrors.pm || :
93 %{update_desktop_database}
94 %{update_mime_database}
The variable $product_version will be the Mandriva product version 2010.1 or 2010.2 As a result mirrors.pm will look in the wrong directory for the Mageia mirror list. A simple workaround would be to make symlinks on the mageia mirror so for example
http://mirrors.mageia.org/api/mageia.2010.2.i586 points to
http://mirrors.mageia.org/api/mageia.1.i586This bug also prevents upgrading via the command line because the command
- Code: Select all
urpmi.addmedia --distrib --mirrorlist
will fail.
2/ Even if the previous fault is fixed the user will still not get the prompt to upgrade because
a/ Immediately after installing mgaonline the mdkapplet is still running, and
b/ The default settings of mgaapplet is to not check for distribution upgrades.
Logging out and logging in again will cause the mgaapplet to start running (I was mistaken in my first post on this thread)
Running the application mgaapplet-config in a terminal enables the user to set the configuration to check for distribution upgrades, but it could be some time before the message appears inviting an upgrade. A quicker method is to run the application mgaapplet-upgrade-helper in a terminal which will immediately get the Mageia sources and start the upgrade. (Assuming the bug mentioned above is fixed)
Bug report number 1568 has been raised
https://bugs.mageia.org/show_bug.cgi?id=1568