Zero packages in repo & system stuck on yum update

Latest response

Server got stuck in yum update and Zero packages in repo. Deleted the system profile from satellite and re-registered but no luck.

Zero package:

[root@server ~]# yum repolist
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.
repo id                                                        repo name                                                                                          status
rhel-x86_64-server-6                                           Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)                                           0
repolist: 0

[root@server ~]# 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.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-x86_64-server-6. Please verify its path and try again

After many hours,

[root@server ~]# yum repolist
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.
repo id                                                        repo name                                                                                          status
rhel-x86_64-server-6                                           Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)                                           20,624
repolist: 20,624

[root@server ~]# 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.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package ConsoleKit.x86_64 0:0.4.1-3.el6 will be updated
---> Package ConsoleKit.x86_64 0:0.4.1-6.el6 will be an update
.....
 sssd-proxy                                        x86_64    1.13.3-60.el6_10.2
 subscription-manager-rhsm-certificates            x86_64    1.20.10-7.el6
 vim-filesystem                                    x86_64    2:7.4.629-5.el6_8.1

Transaction Summary
================================================================================
Install      37 Package(s)
Upgrade     656 Package(s)
Remove        1 Package(s)

Total download size: 654 M
Is this ok [y/N]:
Downloading Packages:          <------------------------------------------------ Nothing happens after that
^C[root@server ~]#

Responses

Hi Vijayakumar,

It looks that the client system is unable to fetch updates and it could be due to low disk space. Please check disk space consumption, especially, / (root), /var & /tmp. This could be one of the reasons. You may run 'yum clean all' and delete '/var/cache/yum'. Trigger 'yum repolist' again to populate the repository and check if that helps by running 'yum update'. Please report with your observations.