LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   how to use urpmi.addmedia ? (https://www.linuxquestions.org/questions/mandriva-30/how-to-use-urpmi-addmedia-347575/)

singying304 07-28-2005 04:03 AM

how to use urpmi.addmedia ?
 
everytime i wanna change "main " address like

urpmi.addmedia main ftp://ftp.riken.jp/Linux/mandrake/of...586/media/main with media_info/hdlist.cz
medium "main" already exists


but i "main" already exists,how can i change ? thanks in advance

Emmanuel_uk 07-28-2005 05:47 AM

Did you try
http://easyurpmi.zarb.org/

this should provide you with the right syntax (if there was a syntax error
in the first place)

theYinYeti 07-28-2005 05:49 AM

Just change "main" to something else (else it would mean that what you actually want to do is updating the media).

Easy-urpmi, with a supplied unique prefix, would give you ready-to-use such commands :)

Yves.

apimente.br 07-28-2005 06:33 AM

A 2 steps way:
Code:

urpmi.removemedia main
and then:
Code:

urpmi.addmedia main ftp://ftp.riken.jp/Linux/mandrake/o...i586/media/main with media_info/hdlist.cz
I don't know if there is another way, but this work for me.

singying304 07-28-2005 07:07 AM

really thanks you...
i also wanna know if i wanna update php to 5.XXX

do i type "urpmi --auto-select" ?

theYinYeti 07-28-2005 08:50 AM

You could do:
urpmq -i php
You'll see something like:
Code:

PHP
version:    4
subversion: 3.0
variant:    -2mdk
...
PHP
version:    5
subversion: 0.1
variant:    -3mdk
...

You then execute:
urpmi php-5.0.1-3mdk

Yves.


All times are GMT -5. The time now is 11:50 PM.