[CentOS] Yum hangs while doing update

Mon Jul 1 18:04:49 UTC 2013
Johnny Hughes <johnny at centos.org>

On 07/01/2013 12:25 PM, ken wrote:
> On 07/01/2013 01:21 PM Reindl Harald wrote:
>> Am 01.07.2013 19:16, schrieb ken:
>>> About thirty minutes ago I started an update.  Everything downloaded
>>> fine.  But when it came to "Running Transaction", it hung:
>>>
>>> Running rpm_check_debug
>>> Running Transaction Test
>>> Finished Transaction Test
>>> Transaction Test Succeeded
>>> Running Transaction
>>>     Updating       : xulrunner
>>>       1/18
>>>
>>> And there it sits still.
>>>
>>> There's plenty of disk space.  The load on the CPU is under 1.0.  There
>>> is some disk activity, but no way so much as to cause anything to hang
>>> and no major writing related to yum.  Disk reads are just about null,
>>> except just now when I grep'ed for something to make sure that the disk
>>> could be read.  I'm not using even half of the available RAM
>> what about look in dmesg and/or /var/log/messages?
>>
> No.  Nothing relevant there.

Normally, there are a couple of big things to check:

1.  DNS is properly resolving the mirror and your the computer doing the
update names.
2.  You do not have a full /var/ or /tmp/ partition
3.  You do not have a read only filesystem (usually due to a driver
error ... full partitions will act the same way). Make sure you can
write to /var/ and /tmp/
4.  Look at bandwidth to ensure it is not slow, look for a transparent
webproxy in the path, etc.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20130701/8c5222a8/attachment-0005.sig>