RHEL yum problemi

Prva varijanta greške
Ako vam se javi ovakav problem pri korišćenju YUM-a na RHEL sistemu :
# yum install xxxxx
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
: subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package xxxxx available.
Error: Nothing to do

A sistem je uredno prijavljen kod Red Hat-a (istina u okviru Classic podrške), pa evo šta onda može da se uradi :
# subscription-manager unregister
# subscription-manager clean
# subscription-manager register

Druga varijanta greške
Ako je greška koja se javi ovako nešto :
# yum update
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
ftp://ftp.redhat.com/pub/redhat/linux/beta/6Server/en/os/SRPMS/repodata/repomd.xml: [Errno 12] Timeout on ftp://ftp.redhat.com/pub/redhat/linux/beta/6Server/en/os/SRPMS/repodata/repomd.xml: (28, ‘Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds’)
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-source-beta. Please verify its path and try again

Evo šta sve treba uraditi :
Promeniti u fajlu /etc/yum/pluginconf.d/subscription-manager.conf :
enabled=1 u enabled=0
Isključiti “Location Aware Update” u profilu datog servera na RHEL sajtu. Logovati se na RHEL, otići na “Properties” datog servera, i odčekirati tu opciju.