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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...