YUM HANGS AT RUNNING TRANSACTION TEST

Hi
When i trying to update using yum, hangs at Running transaction test.

[root@bugz01 ~]# yum update yum
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: ftp.oss.eznetsols.org
 * extras: ftp.oss.eznetsols.org
 * base: ftp.oss.eznetsols.org
 * updates: ftp.oss.eznetsols.org
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package yum.noarch 0:3.2.22-33.el5.centos set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================
 Package                    Arch                          Version                                     Repository                   Size
========================================================================================================================================
Updating:
 yum                        noarch                        3.2.22-33.el5.centos                        base                        1.0 M

Transaction Summary
========================================================================================================================================
Install      0 Package(s)         
Update       1 Package(s)         
Remove       0 Package(s)         

Total size: 1.0 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test

Pls give me some solution
I tried by doing

> rm -f /var/lib/rpm/__db*
> rpm -vv --rebuilddb
> yum upgrade yum
> yum upgrade

but not succeeded,
Looking for a solution

Great day
Anil.G

Are you running NFS? Stale NFS mounts are known to cause this.

You can use strace to determine where the problem is, i.e.

# strace yum -y update yum
1 Like

Hi Murphy
Yup was running NFS, It was problem with mount.
Now its working. Thanks for your solution

Great day
Anil.G