LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-28-2005, 04:03 AM   #1
singying304
Member
 
Registered: Feb 2005
Posts: 106

Rep: Reputation: 15
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
 
Old 07-28-2005, 05:47 AM   #2
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
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)
 
Old 07-28-2005, 05:49 AM   #3
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 63
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.
 
Old 07-28-2005, 06:33 AM   #4
apimente.br
Member
 
Registered: Aug 2003
Location: Sao Paulo - Brazil
Distribution: Mageia
Posts: 154

Rep: Reputation: 23
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.
 
Old 07-28-2005, 07:07 AM   #5
singying304
Member
 
Registered: Feb 2005
Posts: 106

Original Poster
Rep: Reputation: 15
really thanks you...
i also wanna know if i wanna update php to 5.XXX

do i type "urpmi --auto-select" ?
 
Old 07-28-2005, 08:50 AM   #6
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 63
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
urpmi.addmedia problems EHCanadian Mandriva 1 06-25-2005 02:28 AM
urpmi addmedia tsitras Mandriva 8 12-27-2004 07:28 PM
urpmi addmedia hangs billk Mandriva 2 03-16-2004 08:37 AM
Urpmi Addmedia Ronw Linux - General 0 11-19-2003 02:22 AM
urpmi.addmedia rpmfind.net SchwipSchwap Linux - Newbie 2 09-03-2003 10:02 AM

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

All times are GMT -5. The time now is 04:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration