On Fri, 2004-12-24 at 06:59 +1100, Scott Clements wrote:
> Hey Sluggers,
> 
>  
> 
> I am very new to Linux and I am probably making the mistake, I am
> using Mandrake 10.1 Official and trying to add new media to my URPMI
> conf. However when I try to addmedia from sever different mirrors
> around the globe I get the following error messages after my input.
> 
>  
> 
> As root I type:
> 
>  
> 
> urpmi.addmedia main
> ftp://mirror.pacific.net.au/linux/Mandrakelinux/official/10.1/i586/media/main/
>  with /media_info/hdlist.cz 

That's ok. I generally don't have a slash before the media_info, but I
think urpmi can work it out either way.

> and I get 
> 
>  
> 
> retrieving source hdlist (or synthesis) of "main"...
> 
> 
> ftp://mirror.pacific.net.au/linux/Mandrakelinux/official/10.1/i586/media/main/media_info/hdlist.cz
> 
> ...retrieving failed: curl: (7) Failed to connect to 0.0.0.10: Invalid
> argument

So the real problem is here. Your computer has resolved
mirror.pacific.net.au to 0.0.0.10, which is an unusual thing for it to
do.

Does your ISP require you to use a proxy? If so, try setting that with
the http_proxy environment variable, so it would be something like this:

http_proxy=http://www-cache:3128/ urpmi.addmedia main 
http://mirror.pacific.net.au/linux/Mandrakelinux/official/10.1/i586/media/main/ 
with /media_info/hdlist.cz 

or use ftp_proxy for ftp mirrors (notice that I changed your ftp to http
there).

Even if proxies are required, that's still weird. Try adding --wget to
your command line; your curl might be borked.

If all that fails then tell us a bit about how your network fits
together and I'll see if I can offer more helpful advice.

James.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to