LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-11-2004, 04:47 PM   #1
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Rep: Reputation: 30
Question 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
 
Old 08-11-2004, 05:04 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
run "urpmi --help" and also visit the Mandrake Linux website. There should be a lot of information regarding urpmi on the Mandrake website.
 
Old 08-11-2004, 05:08 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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.
 
Old 08-11-2004, 05:33 PM   #4
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
Thanks. www.urpmi.org is a good start and resource.
 
Old 08-11-2004, 06:10 PM   #5
colnago
Member
 
Registered: Nov 2003
Location: Canada
Distribution: ArchLinux
Posts: 324

Rep: Reputation: 30
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.
 
Old 08-11-2004, 06:38 PM   #6
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
------------------
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?
 
Old 08-11-2004, 08:47 PM   #7
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
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
 
Old 08-11-2004, 08:54 PM   #8
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
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?
 
Old 08-12-2004, 03:30 PM   #9
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
Is anyone able to help me with my queries?
 
Old 08-12-2004, 03:39 PM   #10
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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.
 
Old 08-12-2004, 03:45 PM   #11
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
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?
 
Old 08-12-2004, 03:47 PM   #12
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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.
 
Old 08-12-2004, 03:53 PM   #13
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
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.
 
Old 08-12-2004, 05:20 PM   #14
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
http://www.zebulon.org.uk/urpmi_en.html
http://www.cs.utexas.edu/users/walte...rpm-howto.html

Are 2 very good short how tos. As long as you have your internet sources set up, you can forget your cds. Every file (and more) on the cds will be on the internet sites. The internet sites will also have more up to date versions of the files.
 
Old 08-12-2004, 06:13 PM   #15
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
urmpi problems Hampster Mandriva 1 10-13-2005 09:05 PM
what is the best urmpi source? Sticktendo Mandriva 6 07-07-2005 03:07 AM
URMPI... lil help admstng Mandriva 2 12-28-2004 09:58 PM
bailing from urmpi in mid-installation locks urmpi database.... pdmackenzie Mandriva 2 06-17-2004 12:40 PM
urmpi problems Therm Linux - Software 5 06-01-2003 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration