Hi, I've just installed a server with CentOS 4. This server is behind a proxy. I'm trying to import the RPM key. Already set http_proxy variable to: export "http_proxy"=http://proxy.xpto.com:3128 Truth is, command # rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 just leaves me hanged. Any ideas ? Warm Regards, M?rio Gamito
On Apr 4, 2005 4:54 PM, M?rio Gamito <lists at tuxdoit.com> wrote:> Hi, > > I've just installed a server with CentOS 4. > This server is behind a proxy. > > I'm trying to import the RPM key. > > Already set http_proxy variable to: > > export "http_proxy"=http://proxy.xpto.com:3128 > > Truth is, command > > # rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 > > just leaves me hanged. >Is name resolution working okay ?? -- v2sw6PYUhw5ln6pr5Pck4ma7u7TBw5m6l7Ri2e6t5Xb5Oen7g6AMa28s5Mr6p7 hackerkey.com
M?rio Gamito wrote:> Hi, > > I've just installed a server with CentOS 4. > This server is behind a proxy. > > I'm trying to import the RPM key. > > Already set http_proxy variable to: > > export "http_proxy"=http://proxy.xpto.com:3128 > > Truth is, command > > # rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 > > just leaves me hanged. > > Any ideas ? > > Warm Regards, > M?rio Gamito > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centoscheck in /var/lib/rpm that there are no __db.... files left hanging around. Also do a ps -ef | grep rpm to see if the process has actually stopped or has hung. If it has hung kill it, then do an strace rpm --import .... if the strace command shows rpm stalls on a futex_wait, kill it and delete the __db files and do it again.... P.
On Mon, 2005-04-04 at 15:54 +0100, M?rio Gamito wrote:> Any ideas ?Why not use wget to download the key manually? -- Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> http://centos.ivazquez.net/ gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20050404/1d40e63e/attachment-0002.sig>
On Mon, 2005-04-04 at 15:54 +0100, M?rio Gamito wrote:> Hi, > > I've just installed a server with CentOS 4. > This server is behind a proxy. > > I'm trying to import the RPM key. > > Already set http_proxy variable to: > > export "http_proxy"=http://proxy.xpto.com:3128 > > Truth is, command > > # rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 > > just leaves me hanged. > > Any ideas ?---- rpm --import /usr/share/rhn/RPM-GPG-KEY-centos4 would import the key the proxy issues you have to work out Craig
On Mon, 4 Apr 2005, [ISO-8859-1] M?rio Gamito wrote:> Already set http_proxy variable to: > export "http_proxy"=http://proxy.xpto.com:3128 > > Truth is, command > # rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 > just leaves me hanged. > > Any ideas ?rpm does not use that proxy construct. retrieve it manually and install it locally. -- Russ Herrold