On Sun, 20 Oct 2002, Randall J. Parr wrote: > I've installed RH8 (everything) and I have up2date'd to the most current > patches. > > I am having a problem with rpm hanging when I run it from the command-line. > > I run an rpm command, for example, any of the following: > > ---------------------------------------- > > rpm -qa | grep libdvd > > rpm -Uvh -vv --test libdvdcss*.rpm >LOG 2>&1 > > rpm -Uvh -vv --test apt* >LOG 2>&1 > > rpm -Uvh -vv LinNeighborhood* >LOG 2>&1 > > ---------------------------------------- > > and 2/3 of the time the rpm process hangs, won't respond to a CTR-C or DEL > and I have to issue a "kill -9 <pid>" to stop the hung process. > > I would figure my rpm db was hosed except that the up2date ran fine and > 1/3 of the time the rpm command runs fine and completes/installs just > likes its supposed to. > > Is this a know problem or misconfiguration? Kinda!! See the rpm list archives for the gory details. Several things can cause rpm to hang. The most common one is the presence of /var/lib/rpm/__db* files. Remove them and run rpm -vv --rebuilddb and that _should_ fix the problem. The other problem I am suddenly running into is that rpm transactions such as installing or upgrading rpms on NFS mounted file systems are failing. Copying the rpms onto the local machine allows things to install/upgrade normally. I never had this problem before but it is sure present now. The NFS problem is on a 7.2 system though so it might not be relevant to this discussion. FYI anytime you abort an rpm installation or upgrade the __db* files will be left around and should be removed. I have also seen several messages from Jeff stating not to be too quick to abort an rpm transaction that appears hung. He stated that if the rpm transaction is still using CPU cycles it is most likely OK and to be patient. I cannot remember exactly what is happening but I have seen this apparent hang symptom but the rpm transaction was still using CPU cycles and eventually completed. If I had not looked I would have aborted the transaction thinking it was hung. If the above does not fix your problem suggest you ask on the rpm list. Jeff Johnson is very good at helping with these types of problems. > > This, and a few other things, has me very afraid of depending on RH8 at > this point. Modulo some desktop config problems 8.0 is working fine for me. HTH, -- .............Tom "Nothing would please me more than being able to tdiehl@rogueind.com hire ten programmers and deluge the hobby market with good software." -- Bill Gates 1976 We are still waiting .... -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list