+++ This bug was initially created as a clone of Bug #582244 +++ Description of problem: If running install.pl on a newly installed and unregistered system, the installer fails with this message: * Installing RHN packages. Could not install RHN packages. Most likely your system is not configured with the @Base package group. See the RHN Satellite Server Installation Guide for more information about Software Requirements. Exit value: 1. Please examine /var/log/rhn/rhn-installation.log for more information. Examining the log shows this: Public key for perl-NOCpulse-Gritch-1.27.4-1.el5sat.noarch.rpm is not installed If the key is manually imported with "rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release" then after starting the installer again, everything works. Version-Release number of selected component (if applicable): RHEL 5.4 RHN Satellite 5.3 How reproducible: Always with these versions Steps to Reproduce: 1. Install a RHEL system with @Base that is not registered to RHN 2. Run install.pl and enter RHN credentials to register system during install 3. View error Actual results: RPM-GPG-KEY-redhat-release must be manually imported. Expected results: The installer should import the key as part of the package installation process to avoid this error. Additional Information: Alternatively, as the installer has just registered the system with RHN in this scenario, the user can perform an yum update or install a package and answer "y" to the yum prompt to import the key, then run the installer again. --- Additional comment from vvaldez on 2010-04-24 23:39:46 EDT --- Confirmed with RHEL 5.5 too. --- Additional comment from dd.zinc on 2011-03-21 10:50:27 EDT --- Same problem with: RHEL 5.4 RHN Satellite 5.4 --- Additional comment from jpazdziora on 2012-08-01 08:21:37 EDT --- Added check for missing gpg-pubkey and rpm --import in Spacewalk master, ab87b9fa903e320397dafced26a6ae9831d160d7. --- Additional comment from jpazdziora on 2012-08-01 08:39:43 EDT --- Two more fixes in Spacewalk master, c4a1be1f4a8dc0420082db545df0e8a014735871 and 2e4bb9e4a4f5b2d4a0d9e72c3c66e3f8bcc6e4f8. --- Additional comment from cperry on 2012-09-21 05:34:34 EDT --- This issue is resolved with the release of RHN Satellite 5.5. As of September 20th 2012, RHN Satellite 5.5 has been generally available. Release Notes and other 5.5 documentation can be found here: https://access.redhat.com/knowledge/docs/Red_Hat_Network_Satellite/ The associated Errata for the 5.5 release are: 5.5 Satellite GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1296.html 5.5 Upgrade Errata - http://rhn.redhat.com/errata/RHEA-2012-1298.html 5.5 RHN Proxy GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1297.html 5.5 RHN Tools GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1299.html Regards, Clifford - Engineering Manager, Satellite --- Additional comment from mario.balletta on 2012-11-01 18:09:09 EDT --- This is NOT resolved in 5.5. I have installed Base group, confirmed with YUM that base group is installed, it is also in my anaconda.ks, proof my kickstart file installed with base group. Satellite 5.5 still fails with this error.
My test system is already registered with RHN, and running RHEL 6.3, plus using Satellite installer 5.5 and GPG keys already imported. my current rhel release............. [root@xxrirhnproxy rhn]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.3 (Santiago) my satellite install root................... [root@xxrirhnproxy rhn]# ls -sal /root/satellite-5.5.0-20120911-rhel-6-x86_64/ total 80 4 drwxr-xr-x 7 root root 4096 Nov 1 09:03 . 4 dr-xr-x---. 25 root root 4096 Nov 1 14:32 .. 4 -rw-r--r-- 1 root root 151 Nov 1 09:03 .composeinfo 4 drwx------ 3 root root 4096 Nov 1 13:09 EmbeddedDB 4 drwx------ 3 root root 4096 Nov 1 13:09 install 24 -rw-r--r-- 1 root root 22866 Nov 1 09:03 install.pl 4 drwx------ 3 root root 4096 Nov 1 13:09 Oracle 4 -rw-r--r-- 1 root root 2898 Nov 1 09:03 README 20 drwx------ 3 root root 20480 Nov 1 13:09 Satellite 4 -rw-r--r-- 1 root root 1763 Nov 1 09:03 TRANS.TBL 4 drwx------ 2 root root 4096 Nov 1 13:09 updates my rhn registration status................ [root@xxrirhnproxy rhn]# rhn-register It appears this system has already been set up for software updates: Red Hat Network Location: https://xmlrpc.rhn.redhat.com/XMLRPC Login: gtmballetta System ID: ID-1023754720 my installed groups per yum............... [root@xxrirhnproxy rhn]# yum grouplist | less Loaded plugins: aliases, changelog, downloadonly, presto, product-id, refresh- : packagekit, rhnplugin, security, subscription-manager, tmprepo, : verify, versionlock Updating certificate-based repositories. Setting up Group Process Installed Groups: Additional Development Backup Client Backup Server Base CIFS file server Compatibility libraries Console internet tools Debugging Tools Desktop Desktop Debugging and Performance Tools Desktop Platform Desktop Platform Development Development tools Dial-up Networking Support Directory Client Directory Server E-mail server Fonts General Purpose Desktop Graphical Administration Tools Hardware monitoring utilities Identity Management Server Internet Browser Java Platform Large Systems Performance Legacy UNIX compatibility Legacy X Window System compatibility NFS file server Network Infrastructure Server Network file system client Networking Tools Performance Tools Perl Support SNMP Support Scientific support Server Platform Server Platform Development Smart card support System administration tools Virtualization Virtualization Tools Web Server Web Servlet Engine Web-Based Enterprise Management X Window System ................................... So it's obvious my test system met all of the pre-requisites and was able to register and I have the proper entitlements, subscriptions, contract numbers, etc. This needs to be fixed since my evaluation is now counting down and ticking away, and we are trying to evaluate Satellite as a replacement for HP OpsWare, please help!
please open a support ticket with Red Hat to assist you with the installation.
*** This bug has been marked as a duplicate of bug 582244 ***