Re: yum problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon June 18 2007 17:02:45 rodrigo morales wrote:
> I have the following problem
>
>
> sudo yum update
> Loading "installonlyn" plugin
> Setting up Update Process
> Could not retrieve mirrorlist
> http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-7&arch=i386 error
> was
> [Errno 4] IOError: <urlopen error (111, 'Conexi\xc3\xb3n rehusada')>
> Error: Cannot open/read repomd.xml file for repository: fedora
>
> I am under proxy  and not like forming it, in the page it leaves:
>
> http_proxy=ip_proxy:port
> export http_proxy
>
> but when adding these lines give the following error me
>
> sudo yum update
> CRITICAL:yum.cli:Config Error: Parsing file failed: File contains parsing
> errors: file:///etc/yum.conf
>         [line 17]: 'export http_proxy'
>
> as I can solve this problem
>
> greetings

For setting proxy information in yum.conf just insert:
proxy=ip_proxy:port

you may also need

proxy_username=foo
proxy_password=bar

depending on your setup.

if you need this proxy for general internet add these lines: to 
~/.bash_profile this will be a global setting which yum will also use if not 
set in yum.conf.

http_proxy=insert_proxy_ip:port
export http_proxy

post back with the details if you get stuck.


...dex



		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux