Yum version 2.2.0-1 hangs when running yum install
"Timo Halonen" <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Hello I have a problem with yum install command. The environment is the following: - Diskless server (the whole server's OS (RHEL 4) is located on NFS). See below mount command output from server: #mount rootfs on / type rootfs (rw) 10.10.17.45:/opt/nfsroot/10.10.17.46/root on / type nfs (rw,v3,rsize=32768,wsize=32768,hard,tcp,nolock,proto=tcp,timeo=600,retra ns=5,addr=10.10.17.45) /proc on /proc type proc (rw,nodiratime) /proc/bus/usb on /proc/bus/usb type usbfs (rw) /sys on /sys type sysfs (rw) none on /dev type tmpfs (rw) none on /dev/pts type devpts (rw) none on /dev/shm type tmpfs (rw) none on /tmp type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) With rpm command I can install rpms remove rpms etc. without any problems. The problem arise for example when I'm running command "yum install [pkg]". This yum install command generates "Segmentation fault" error or it just hangs (See below listing). # yum install xxx-yyy Setting up Install Process Setting up Repos instimg 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files instimg : ################################################## 1773/1773 Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for xxx-yyy to pack into transaction set. xxx-yyy-2.1.0-10.rc.4.i68 100% |=========================| 5.9 kB 00:00 ---> Package xxx-yyy.i686 0:2.1.0-10.rc.4 set to be updated --> Running transaction check Dependencies Resolved Transaction Listing: Install: xxx-yyy.i686 0:2.1.0-10.rc.4 - instimg Total download size: 389 k Is this ok [y/N]: y Downloading Packages: (1/1): xxx-yyy-2.1.0-10.r 100% |=========================| 389 kB 00:00 Running Transaction Test Segmentation fault # After this unsuccessul yum install command all yum commands hangs and also all rpm commmand hangs. To solve this problem I have to run the following commands: # rm -f /var/lib/rpm/db* # rpm -vv --rebuilddb # yum clean all After this I can run all rpm command and also yum list command but when ever I try to run yum install or yum update I get the "Segmetation fault" error and I have rebuild rpm databases. When I moved /var/lib/rpm directory's files under /tmp directory and configuring yum and rpm use /tmp directory for database directory yum install command works without any error. Is this issue related some how with NFS or related with rpm/python versions or what...? So could you help me fix this problem and currently we are using the following versions of rpm, python and yum - rpm-4.3.3-22_nonptl - rpm-python-4.3.3-22_nonptl - rpmdb-redhat-4-0.20070421 - rpm-libs-4.3.3-22_nonptl - libxml2-python-2.6.16-10 - python-2.3.4-14.4 - yum-2.2.0-1 And we like to continue to use yum version 2.2.0-1. We also installed yum version 2.4.3-4 with the dependencies but we got the same error. regards, Timo _______________________________________________ Yum mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum