Red Hat Registration
From MyWiki
Red Hat 7 registration - how to connect to and register to Red Hat Network
subscription-manager list --available --all
or
subscription-manager list ( to see the current machine )
Check for software updates - gpk-update-viewer
Update the operating system - yum update
Install a specific package - yum install vsftpd
To update a specific package - yum update bind
Checking a certificate :
openssl s_client -connect xmlrpc.rhn.redhat.com:443 -CAfile /usr/share/rhn/RHNS-CA-CERT
rpm -q rhn-client-tools
rhn-client-tools-0.4.13-1.el5
Problems with Red Hat 5
-rw-r--r-- 1 root root 3584000 Nov 6 11:30 registration_update-rhel-5.tar.gz Contains : -rw-r--r-- 1 root root 387571 Sep 3 2012 hal-0.5.8.1-64.el5.x86_64.rpm -rw-r--r-- 1 root root 510748 Jul 25 2012 m2crypto-0.16-9.el5.x86_64.rpm -rw-r--r-- 1 root root 91514 Sep 6 2010 python-dmidecode-3.10.13-1.el5_5.1.x86_64.rpm -rw-r--r-- 1 root root 34363 Jul 26 2012 python-iniparse-0.2.3-6.el5.noarch.rpm -rw-r--r-- 1 root root 47454 May 21 2014 rhn-check-0.4.20.1-9.el5.noarch.rpm -rw-r--r-- 1 root root 944636 May 21 2014 rhn-client-tools-0.4.20.1-9.el5.noarch.rpm -rw-r--r-- 1 root root 73624 Aug 22 2013 rhnlib-2.5.22.1-6.el5.noarch.rpm -rw-r--r-- 1 root root 34839 Oct 11 2012 rhnsd-4.7.0-14.el5.x86_64.rpm -rw-r--r-- 1 root root 126934 May 21 2014 rhn-setup-0.4.20.1-9.el5.noarch.rpm -rw-r--r-- 1 root root 157546 May 21 2014 rhn-setup-gnome-0.4.20.1-9.el5.noarch.rpm -rw-r--r-- 1 root root 1034777 Jul 24 2012 yum-3.2.22-40.el5.noarch.rpm -rw-r--r-- 1 root root 26063 Jul 18 2012 yum-metadata-parser-1.1.2-4.el5.x86_64.rpm -rw-r--r-- 1 root root 73718 Sep 10 2013 yum-rhn-plugin-0.5.4.1-7.el5.noarch.rpm -rw-r--r-- 1 root root 23245 Aug 4 2014 yum-updatesd-0.9-6.el5_10.noarch.rpm # rpm -Uvh *.rpm --replacefiles warning: hal-0.5.8.1-64.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies: pm-utils >= 0.99.3-6 is needed by hal-0.5.8.1-64.el5.x86_64 # rpm -q pm-utils pm-utils-0.19-3 rpm -i hal-0.5.8.1-64.el5.x86_64.rpm --nodeps --replacefiles warning: hal-0.5.8.1-64.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 rpm -Uvh *.rpm --replacefiles ( after renaming hal ending ) warning: m2crypto-0.16-9.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:yum-metadata-parser ########################################### [ 8%] 2:rhnlib ########################################### [ 15%] 3:python-iniparse ########################################### [ 23%] 4:yum ########################################### [ 31%] 5:python-dmidecode ########################################### [ 38%] 6:m2crypto ########################################### [ 46%] 7:yum-updatesd ########################################### [ 54%] 8:rhn-client-tools warning: /etc/sysconfig/rhn/up2date created as /etc/sysconfig/rhn/up2date.rpmnew ########################################### [ 62%] 9:rhn-setup ########################################### [ 69%] 10:rhnsd ########################################### [ 77%] 11:rhn-check ########################################### [ 85%] 12:rhn-setup-gnome ########################################### [ 92%] 13:yum-rhn-plugin ########################################### [100%] error: %postun(rhnsd-4.6.1-1.el5.x86_64) scriptlet failed, exit status 6 pcre.i386 0:6.6-9.el5