LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   urmpi (https://www.linuxquestions.org/questions/mandriva-30/urmpi-216384/)

Obie 08-11-2004 04:47 PM

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

reddazz 08-11-2004 05:04 PM

run "urpmi --help" and also visit the Mandrake Linux website. There should be a lot of information regarding urpmi on the Mandrake website.

XavierP 08-11-2004 05:08 PM

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.

Obie 08-11-2004 05:33 PM

Thanks. www.urpmi.org is a good start and resource.

colnago 08-11-2004 06:10 PM

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.

Obie 08-11-2004 06:38 PM

------------------
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?

Obie 08-11-2004 08:47 PM

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

Obie 08-11-2004 08:54 PM

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?

Obie 08-12-2004 03:30 PM

Is anyone able to help me with my queries?

XavierP 08-12-2004 03:39 PM

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.

Obie 08-12-2004 03:45 PM

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?

XavierP 08-12-2004 03:47 PM

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.

Obie 08-12-2004 03:53 PM

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.

XavierP 08-12-2004 05:20 PM

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.

Obie 08-12-2004 06:13 PM

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 02:29 AM.