[Yum] running yum w/ sudo not works

gxk gxkahn at gmail.com
Thu Aug 30 15:19:31 UTC 2007


Thanks for your question. The problem is solved.
i add proxy definitions to yum.conf

I didn't do it before, because there is proxy.sh file under profile.d
which defines proxy for every user.

It is not enough. Wonder, why?


seth vidal wrote:
> On Mon, 2007-08-27 at 12:16 -0400, gxk wrote:
>> I have FC6 and yum-3.0.6-1.fc6
>> While running `sudo yum update', the yum returns follows message
>> Loading "fastestmirror" plugin
>> Loading "installonlyn" plugin
>> Setting up Update Process
>> Setting up repositories
>> Could not retrieve mirrorlist 
>> http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=i386 error was
>> [Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
>> Error: Cannot find a valid baseurl for repo: core
>>
>> If running yum from `su -c 'yum update''
>> everything is fine.
> 
> Is there a proxy or proxy information that is only accessible if you're
> root?
> 
> -sv
> 
> 
> 



More information about the Yum mailing list