Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have here a CentOS 5 and I'm trying to run yum install php-soap but the installer hangs on and the last step is Running Transaction Test.

I found out that NFS shares are the problem. See here or here or here. I tried to unmount everything which came up when entering cat /etc/mtab | grep nfs. I also tried to use umount -a -t nfs. Then I run the install command. But I can't get this working.

strace yum -y update show me many lines, but I can't get a sense out of it.

Furthermore I tried

/bin/rm /var/lib/rpm/__db.*
cd /var/cache/yum
/bin/rm -rf *
yum clean all
yum update

but still hangs on.

Do I have to remove the mounts from the other server to this machine?

share|improve this question
    
NFS mounts themselves are not necessarily the problem. Stale NFS mounts can be a problem, as mentioned in the links you provided. If df doesn't hang, and doesn't mention stale NFS mounts, then that is not likely the cause of your problem. Can you provide the last 10-20 or so lines of the strace output? –  Lars Rohrbach Mar 23 '12 at 4:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.