VMware Cloud Community
Thiemann
Contributor
Contributor

RHEL 3+4 OSP RPMs are signed with an unknown key and installation fails

Hi there,

The OSP repository is integrated as an external repository inside our Red Hat Satellite Server.

To install install the RPM's on the clients, the public gpg keys have been imported on the client systems.

On RHEL 5+6 the installation of OSP RPM succeeds, on RHEL 3+4 systems it fails.

So I took a look on the RPMs : 

With a rpm -qip I found out, that the RPM's for RHEL 3 + 4 are signed with an unknown key and the installation fails.

The RPM's for RHEL 5 + 6 are ok and the installation succeeds.

For the RHEL 3+4 RPMs the "Key ID" is 15fc30a204bbaa7b

For the RHEL 5+6 RPMs the "Key ID" is c0b5e0ab66fd4949

Is there any reason for that ?

Martin

Tags (5)
0 Kudos
3 Replies
Thiemann
Contributor
Contributor

VMware support told me the solution : for RHEL 3+4 I need the DSA gpg key.

So I installed it, and the RPM's installed without problems.

0 Kudos
kumar_krishnamo
Contributor
Contributor

Do you have access to the OSP installation guide for the current RC release ?

0 Kudos
barracuda_1
Contributor
Contributor

here's my install script for RH4;

SYSTEMMAKE=`dmidecode -s system-manufacturer |sed s/", Inc."//g`
if [ $SYSTEMMAKE == "VMware" ]
        then
                if ! grep -q "packages.vmware.com" "/etc/sysconfig/rhn/sources"
                        then
                                rpm -e vmware-tools
                                if [ -d /lib64 ]
                                        then
                                                echo -e "yum vmware-tools http://packages.vmware.com/tools/esx/latest/rhel4/\$ARCH" >> /etc/sysconfig/rhn/sources
                                        else
                                                # fix i386/i686 #vmware is vergeten een sym link te maken.
                                                echo -e "yum vmware-tools http://packages.vmware.com/tools/esx/latest/rhel4/i686" >> /etc/sysconfig/rhn/sources
                                fi
                                cd /tmp
                                wget 'http://packages.vmware.com/tools/VMWARE-PACKAGING-GPG-KEY.pub'
                                wget 'http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub'
                                mv -f ./VMWARE-PACKAGING-GPG-KEY.pub /etc/sysconfig/rhn/
                                mv -f ./VMWARE-PACKAGING-GPG-DSA-KEY.pub /etc/sysconfig/rhn/
                                rpm --import /etc/sysconfig/rhn/VMWARE-PACKAGING-GPG-KEY.pub
                                rpm --import /etc/sysconfig/rhn/VMWARE-PACKAGING-GPG-DSA-KEY.pub
                                rpm -e `rpm -qa |grep -i vmware`
                                up2date -i vmware-tools
                                ln -s /etc/fonts/fonts.conf /usr/lib/vmware-tools/libconf/etc/fonts/fonts.conf
                                vmware-toolbox-cmd timesync disable
                                chkconfig smartd off
                                /etc/init.d/smartd stop
                fi
fi

this removes the old VMwareTools RPM file.

if you installed through the perl script you need to run the vmware-unstall script by hand.

also you will probebly get a CPIO error during install.

to fix this move the directory it is complaining about (32 or 64bit) /usr/lib/vmware/lib32(64) to /usr/lib/vmware/lib32_OLD

and try my script again

0 Kudos