[TriLUG] yum install question

Kevin Miller kevinm at gmail.com
Sat Oct 30 23:32:26 EDT 2004


> Q.  How do you know when yum (or another command) is hosed, when you
> don't get any output?   Do you guys run commands with verbose output
> specifically for this?

Going for 'strace' is a common next step, to see where it might be
hanging. strace will show you the kernel calls. Just:

strace yum install whatever

Be warned, it can produce a lot of output. You can redirect that, though:
strace -o /tmp/yum.log yum install whatever

Based upon the log, you might find a network connection timing out
(e.g. a connect() connect) or a filesystem hanging (in open()), for
example.

-Kevin



More information about the TriLUG mailing list