______________________
The best way to do Install/Upgrade a Package in Mandy is by using URPMI
urpmi - This is the command line package management tool used in Madriva Linux.
What it does ?
Suppose if you want to install a particular package what you do is go to the Package 's download page and start downloading the RPM and then try to install it.
You may also face problems like installing dependencies while you go by the above procedure.
So to avoid this the best way to Install a package is by using URPMI it takes care of all the dependencies required by the package.
By default you have urpmi installed with the mandrake.
Lets look at how we configure urpmi :
Config file for urpmi
/etc/urpmi/urpmi.cfg
The first time you look at this file it will show you that this will use the CD media to fetch the Package.
Since we need the web to be used to fetch the package we need:
[root@sriram root]# urpmi.removemedia -aThis will remove the entries made in urpmi.cfg
Now we will setup the urpmi using Easyurpmi web-based tool.
Once you visit the below url :
http://easyurpmi.zarb.org/
you will need to information that suits you
I selected the following
: and : and
2) Select a mirror for each source you want
Always select main, it is needed for all other media.
A few plf packages need contrib, therefore you should add contrib if you add plf.
Restrict your selection to sources you really need, since sources may conflict - It is not my fault.
1 comment:
[root@mybox urpmi]# cat urpmi.cfg
main ftp://ftp.is.co.za/mirror/mandrivalinux/official/9.2/i586/Mandrake/RPMS {
hdlist: hdlist.main.cz
with_hdlist: ../base/hdlist.cz
key-ids: 70771ff3
}
contrib ftp://ftp.is.co.za/mirror/mandrivalinux/official/9.2/contrib/i586 {
hdlist: hdlist.contrib.cz
with_hdlist: ../../i586/Mandrake/base/hdlist2.cz
list: list.contrib
key-ids: 70771ff3
}
Post a Comment