Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have an RPM created from a TGZ which includes a set of files to be installed at /usr/glassfish. For some reason, yum gets stuck while Running Transaction (stuck for hours, doesn't continue...). Tried to attach a screenshot but serverfault won't let me.

Any idea why?

share|improve this question
    
"Any idea why?" refers to the yum problem, not the fact serverfault won't let me add an image. – Yon Dec 14 '10 at 7:08
    
What happens when you install the package by hand? – Ignacio Vazquez-Abrams Dec 14 '10 at 11:07

You could try to use strace to have a look at what yum is actually doing. Maybe it could also help to do a yum clean all, you might need to run yum-complete-transaction afterwards.

Also just installing the RPM with rpm -Uvh your-rpm-file.rpm might give you more insight.

share|improve this answer

For anyone else who gets stuck with this issue - I came across this problem and it was because I killed yum, which in turn left a lock file for rpm in the open.

In which case, you'll need to run rm /var/lib/rpm/.rpm.lock.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.