Jump to content

urpmi doesn't work [solved]


hirohitosan
 Share

Recommended Posts

hello to everyone

I tried to update my computer with urpmi but it cannot connect to the server. I use DHCP and proxy server to connect to the internet.

when I try:

urpmi.addmedia

it fail to connect

I don't know how to configure to connect through proxy server. Can anyone give some advices?

thanks

Link to comment
Share on other sites

# urpmi.addmedia --help
 [...]
 --proxy		- use specified HTTP proxy, the port number is assumed
			   to be 1080 by default (format is <proxyhost[:port]>).
 --proxy-user   - specify user and password to use for proxy
			   authentication (format is <user:password>).
 [...]

Link to comment
Share on other sites

Another way to configure to go by proxy for all apps:

 

export http_proxy=192.168.1.10:3128
export ftp_proxy=192.168.1.10:3128

 

replace the ip with your proxy server and change the port accordingly. Then, all command line apps will use the proxy without the need for configuration.

Link to comment
Share on other sites

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