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@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 ??
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@centos.org http://lists.centos.org/mailman/listinfo/centos
check 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?
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