Re: running yum w/ sudo not works

gxk <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.