Description of problem: When importing a gpg key, yum doesn't honour the http_proxy setting from yum.conf Version-Release number of selected component (if applicable): yum-3.0.3-1.fc6 How reproducible: Everytime Steps to Reproduce: 1.Add a repo file for a new repo which gontains a gpgkey line 2.yum install some package from that repo 3.yum will try and fetch the gpg key, but will fail, as it doesn't use the http_proxy setting. Actual results: gpgkey is not installed Expected results: gpgkey installed Additional info: yum install flash-plugin Loading "installonlyn" plugin Loading "fastestmirror" plugin Setting up Install Process Setting up repositories Loading mirror speeds from cached hostfile Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package flash-plugin.i386 0:9.0.31.0-1 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: flash-plugin i386 9.0.31.0-1 macromedia 2.5 M Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 2.5 M Is this ok [y/N]: y Downloading Packages: warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 8df56d05 GPG key retrieval failed: [Errno 4] IOError: <urlopen error (111, 'Connection refused')> But then setting http_proxy shell variable, it works: export http_proxy=http://wwwcache.xxxx.ac.uk:8080 [root@xxxxx yum.repos.d]# yum install flash-plugin Loading "installonlyn" plugin Loading "fastestmirror" plugin Setting up Install Process Setting up repositories Loading mirror speeds from cached hostfile Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package flash-plugin.i386 0:9.0.31.0-1 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: flash-plugin i386 9.0.31.0-1 macromedia 2.5 M Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 2.5 M Is this ok [y/N]: y Downloading Packages: warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 8df56d05 Importing GPG key 0x8DF56D05 "Fedora Linux (RPMS) <security>" from http://macromedia.mplug.org/FEDORA-GPG-KEY Is this ok [y/N]: y Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: flash-plugin ######################### [1/1] Installed: flash-plugin.i386 0:9.0.31.0-1 Complete!
I should have added that in yum.conf I have http_proxy set correctly.
Do you have http_proxy set for the repository or globally?
I had it set globally in my shell startup file and in yum.conf.
Do you know if this happens in Fedora 7? Things have been pretty substantially reworked and I don't think it should occur anymore
I would have come across it as a problem if it still existed in F7, as my boxes are all running that now - so I think it's fixed in F7.