Jump to content

adding media


hirohitosan
 Share

Recommended Posts

Hi there.

I just install Md2009 and when I tried to add some media through automatic Easy URPMI an error appears.

Unable to add medium, errors reported:

...retrieving failed: rsync failed: exited with 35
unable to access the distribution medium (no media.cfg file found)

Medium:  ()

I'm using a proxy server to connect to Internet.

How can I set the proxy for URPMI

 

Thanks a lot

 

 

[moved from Installing Mandriva by spinynorman]

Link to comment
Share on other sites

You wouldn't really need to set the proxy unless it's being used as a transparent proxy. However, to set the proxy you just do:

 

export http_proxy=ip_addr:port

 

replacing ip_addr with the ip of the proxy server, and then the port that you use to connect to the proxy. You can also do the same for export ftp_proxy in the same format too.

 

However, this was attempting to use rsync, and if that port is blocked, then this is why you cannot get the media configured correctly. Perhaps try:

 

urpmi.removemedia -a

 

and then try adding the media again using the easyurpmi link. Also check the /var/cache/urpmi directory to see if a media.cfg exists, and if so, delete it to download and get a new fresher one.

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...