Operating System - Linux
1832995 Members
2245 Online
110048 Solutions
New Discussion

Re: rh8 (2.4.20-24.8) problem

 
SOLVED
Go to solution
Jun Zhang_4
Regular Advisor

rh8 (2.4.20-24.8) problem

rpm -e tk-8.3.3-74
has hanged there for an hour already. Keyboard key is still generate a new line.
What is the problem?

Jun
Food lover
3 REPLIES 3
Martin P.J. Zinser
Honored Contributor

Re: rh8 (2.4.20-24.8) problem

Hello Jun,

First I would check what is actually installed
on the system. A rpm --query tk should give you
this information. If this particular version of tk is installed on your system the hang might be caused by someone accessing one of the files that you try to remove. lsof might be of help to determine if this is the case.

Greetings, Martin
Stuart Browne
Honored Contributor
Solution

Re: rh8 (2.4.20-24.8) problem

Given it's RH8, I'd say you've got the buggy version of 'rpm', of which hangs every now and then.

If you do a query (rpm -q tk), and it hangs, you have it!

The fix is to remove the __* files from ./var/lib/rpm/', then give your -e another shot!
One long-haired git at your service...
SureshKumar_2
Valued Contributor

Re: rh8 (2.4.20-24.8) problem

Hi jun

*) As earlier what others told u can do first query of the rpm whether it has installed.

*) Use, -evh -> to see the progress....

suresh
Things are very easy, when u know about it...