Difference between revisions of "Updating the nodes"

From wiki
Jump to: navigation, search
(Created page with "==Updating the nodes== Work done December 2018 sudo subscription-manager remove --all sudo subscription-manager unregister sudo subscription-manager clean sudo subscrip...")
 
(Updating the nodes)
Line 29: Line 29:
 
  wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/s/ssmtp-2.61-22.el6.x86_64.rpm
 
  wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/s/ssmtp-2.61-22.el6.x86_64.rpm
 
  rpm -ivh ssmtp-2.61-22.el6.x86_64.rpm
 
  rpm -ivh ssmtp-2.61-22.el6.x86_64.rpm
 +
 +
==Identifying differences==
 +
 +
On each node
 +
yum list > rpmList_nodeX.txt
 +
subscriptionManager repos --list > subManList_nodeX.txt

Revision as of 10:32, 21 December 2018

Updating the nodes

Work done December 2018


sudo subscription-manager remove --all
sudo subscription-manager unregister
sudo subscription-manager clean
sudo subscription-manager register
sudo subscription-manager refresh
sudo subscription-manager attach --auto


then

yum clean all
yum update


If you see an error

http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 503 Service Unavailable"

It's due to the rpmforge repo no longer existing at that location. removing /etc/yum.repos.d/rpmforge.repo fixes the error.


I then installed ssmtp using

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/s/ssmtp-2.61-22.el6.x86_64.rpm
rpm -ivh ssmtp-2.61-22.el6.x86_64.rpm

Identifying differences

On each node

yum list > rpmList_nodeX.txt
subscriptionManager repos --list > subManList_nodeX.txt