Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
08-11-2004, 04:47 PM
|
#1
|
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Rep:
|
urmpi
I would like to understand how I can use urmpi as opposed to rpm. I read the man pages but they don't seem to give appropriate examples of
1) How to add new software?
2) How to check for dependencies automatically?
3) How to download updates for installed software as well as security patches? Also where does it download the updates from? Is this configurable and if so where?
4) How to remove software and when uninstalling to warn if there are any dependencies?
Could someone please give me real life examples of each please?
Thank you
|
|
|
08-11-2004, 05:04 PM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
run "urpmi --help" and also visit the Mandrake Linux website. There should be a lot of information regarding urpmi on the Mandrake website.
|
|
|
08-11-2004, 05:08 PM
|
#3
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Don't forget to go to www.urpmi.org/easyurpmi - that gives a very easy setup method - including choosing your sources. And, of course, www.urpmi.org will tell you all about urpmi.
|
|
|
08-11-2004, 05:33 PM
|
#4
|
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Original Poster
Rep:
|
Thanks. www.urpmi.org is a good start and resource.
|
|
|
08-11-2004, 06:10 PM
|
#5
|
Member
Registered: Nov 2003
Location: Canada
Distribution: ArchLinux
Posts: 324
Rep:
|
First set it up from the easy urpmi page. Then ...
1) How to add new software?
urpmi <packagename>
2) How to check for dependencies automatically?
Like you said, automatic.
3) How to download updates for installed software as well as security patches? Also where does it
download the updates from? Is this configurable and if so where?
urpmi <packagename>
You set up the locations from the urpmi.addmedia and urpmi.removemedia commands. The easy urpmi site gives you the details.
4) How to remove software and when uninstalling to warn if there are any dependencies?
rpm -e <packagename>
You can use the control centre gui to do the updates/removals too.
|
|
|
08-11-2004, 06:38 PM
|
#6
|
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Original Poster
Rep:
|
------------------
Quote:
2) How to check for dependencies automatically?
Like you said, automatic.
------------------
>> So it automatically checks for dependencies?
------------------
Quote:
3) How to download updates for installed software as well as security patches? Also where does it
download the updates from? Is this configurable and if so where?
urpmi <packagename>
You set up the locations from the urpmi.addmedia and urpmi.removemedia commands. The easy urpmi site gives you the details.
------------------
>> This is the part I don't get. It mentions creating a list file. How does this exactly work?
|
|
|
08-11-2004, 08:47 PM
|
#7
|
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Original Poster
Rep:
|
XavierP,
When running the command urpmi.addmedia --updates update, do I need to select which updates I wish to install and which I don't. Also what is contrib, main and plf sources as noted http://www.urpmi.org/easyurpmi/?
Thanks
|
|
|
08-11-2004, 08:54 PM
|
#8
|
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Original Poster
Rep:
|
Also do I have to type in for example "urpmi.addmedia --update updates ftp://distro.ibiblio.org/pub/Linux/d...ates/10.0/RPMS with ../base/hdlist.cz" everytime I wish to update Mandrake or install new RPMS?
|
|
|
08-12-2004, 03:30 PM
|
#9
|
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Original Poster
Rep:
|
Is anyone able to help me with my queries?
|
|
|
08-12-2004, 03:39 PM
|
#10
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
no. Once you have added a source and updated it once (to make it get the details) you only have to issue urpmi install, etc - urpmi will search for the program in the sources you have installed.
It does help to, every now and again, run the source updates - this will pick up on anything added since your last update. But you don't have to do it too often. Maybe twice a month.
|
|
|
08-12-2004, 03:45 PM
|
#11
|
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Original Poster
Rep:
|
XavierP,
Thanks. Now would urmpi only download based on the hdlist or can I define it where it should download it from e.g. For example what if I wanted to install software from my CD rather than download from the net?
How does urmpi work if I wish to download security updates? Would it be
urmpi --updates update or just urmpi --updates?
|
|
|
08-12-2004, 03:47 PM
|
#12
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Urpmi downloads based on the sources you define, if you leave the cds in there (or add new ones) it will look in there for them.
If you go to your control center, which is in configuration, you will see Mandrake Update - there you can install security fixes, bugfixes and regular updates with a gui.
|
|
|
08-12-2004, 03:53 PM
|
#13
|
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Original Poster
Rep:
|
XavierP,
Correct me if I am wrong that sources are defined by urpmi.addmedia correct which utilises the hdlist? How do I add a reference for a CD?
As I don't use a GUI, how would updates work in the command line?
Thank you.
|
|
|
08-12-2004, 06:13 PM
|
#15
|
Member
Registered: Apr 2004
Distribution: Red Hat
Posts: 290
Original Poster
Rep:
|
XavierP,
Although I would like to download the latest version of the Web, I'm on a dialup so in some instances it wouldn't make sense to download a 40MB file for example.
|
|
|
All times are GMT -5. The time now is 06:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|