CodeTyphon looks very promising, but unfortunately it is not officially supported on Mandriva, so I decided to change that.
I have very little free time, so if anyone want to help me with this, he will be more then welcome.
My main OS is Mandiva One 2011 x64, but I do not want to mess things on my main OS more than necessarily, so I decided to set up one more virtual machine.
If anyone want to help me with this project, he can quickly setup and fully update Mandriva following this short guide, especially if he never installed Mandriva before.
This can be also useful for Pilot Logic guys, since they would need to test all this at the end. Right?
I hope that no one will look at this post as offtopic.
So, let's start.
1. Make new virtual machine - 2GB for swap partition and 8GB for ext4 partition should be sufficient. Personally, I never make main partition smaller then 14GB for any Linux virtual machine.
2. Install Mandriva with default options. There is no need to waste your time selection packages.
3. After install, add yourself to the "wheel" group. Easiest way to do this is by clicking. Go to control center, right click on your username, choose "edit" and go to "groups" tab. Select "wheel" and click "OK". Log out and log in again to make this change active. This is clean and proper way to add yourself to sudo users.
4. If you do not want to enter password for sudo every time (especially if you are lazy like me), now is time for some typing. Open console, and type
and enter your password. Comment line
and uncomment line
%wheel ALL=(ALL) NOPASSWD: ALL
5. Now it is time to add repositories in order to update your system. You can use
easyurpmi.zarb.org/ to add repositories, but if you installed Mandiva One 2011 x64, it is much faster just to copy those lines. I also added 32bit repositories. MIB repositories are included too.
sudo urpmi.removemedia -a
sudo urpmi.addmedia Main_64_release ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/x86_64/media/main/release
sudo urpmi.addmedia --update Main_64_updates ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/x86_64/media/main/updates
sudo urpmi.addmedia --update Main_64_backports ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/x86_64/media/main/backports
sudo urpmi.addmedia Contrib_64_release ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/x86_64/media/contrib/release
sudo urpmi.addmedia --update Contrib_64_updates ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/x86_64/media/contrib/updates
sudo urpmi.addmedia --update Contrib_64_backports ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/x86_64/media/contrib/backports
sudo urpmi.addmedia NonFree_64_release ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/x86_64/media/non-free/release
sudo urpmi.addmedia --update NonFree_64_updates ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/x86_64/media/non-free/updates
sudo urpmi.addmedia --update NonFree_64_backports ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/x86_64/media/non-free/backports
sudo urpmi.addmedia --update MDV-restricted_64 http://mirror.yandex.ru/mandriva/official/restricted/2011.0/x86_64/
sudo urpmi.addmedia --update MIB-basic_64 http://mib.pianetalinux.org/MIB/2011.0/64/basic/
sudo urpmi.addmedia --update --raw MIB-experts_64 http://mib.pianetalinux.org/MIB/2011.0/64/experts/
#
sudo urpmi.addmedia Main_32_release ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/i586/media/main/release
sudo urpmi.addmedia --update Main_32_updates ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/i586/media/main/updates
sudo urpmi.addmedia --update Main_32_backports ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/i586/media/main/backports
sudo urpmi.addmedia --raw Contrib_32_release ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/i586/media/contrib/release
sudo urpmi.addmedia --update --raw Contrib_32_updates ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/i586/media/contrib/updates
sudo urpmi.addmedia --update --raw Contrib_32_backports ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2011/i586/media/contrib/backports
sudo urpmi.addmedia --update --raw MDV-restricted_32 http://mirror.yandex.ru/mandriva/official/restricted/2011.0/i586/
sudo urpmi.addmedia --update --raw MIB-basic_32 http://mib.pianetalinux.org/MIB/2011.0/32/basic/
#
6. Firefox and Thunderbird are installed by default. Unfortunately they have 2 conflicting packages, which suppress updating of Firefox and Thunderbird to version 12. So let's fix that quickly.
sudo urpme firefox-bn
sudo urpme mozilla-thunderbird-pa_IN
7. Now it is time to update all.
I hope that this would be useful to at least one person.
Finally, it is time to download and unpack CodeTyphon.
If you run
you will see first thing that should be fixed. It detects Mandriva as Ubuntu, because it have "/etc/lsb-release" file like Ubuntu, so same thing that is done for Chakra Linux, should be done for Mandriva. Number 770 sound fine (we just need PL guys to accept that number), so I added this between Chakra and Ubuntu in "ln_All_Functions.sh":
#------------ 770 MandrivaLinux ------------------------
# Mandriva Linux has and "/etc/lsb-release" file like Ubuntu
# so must place before Ubuntu
elif [ -f /etc/mandriva-release ] ; then
OS_VerNum=770
OS_VerStr="Mandriva Linux"
If I run
now, I will get
--------------------------------------------------
Found: Mandriva Linux (OS ID:770)
--------------------------------------------------
But this is just a start. Next step is to make proper "ln1_Install_SysLibraries_For_Mandriva.sh".
Duplicating "ln1_Install_SysLibraries_For_Fedora.sh" looks like good step in this direction.
"sudo yum update" should be replaced with
"sudo urpmi --auto-update"
"sudo yum install -y" should be replaced with
"sudo urpmi --auto"
Instead of using
"*" to get all packages, we should add
"-a" switch.
Now I need to check package names and to find appropriate packages for Mandriva (maybe some of them have different names). I will also check what is already installed by default.
More info later.