Re: Yum hangs while doing update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



ken wrote:
> On 07/01/2013 02:46 PM Eero Volotinen wrote:
>> try using strace -p PID-OF-YUM and output to mailinglist
>
> Here's the last few lines of strace:
<snip>
> ...
> open("/var/lib/rpm/Packages", O_RDONLY|O_LARGEFILE) = 4
> fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
> fstat64(4, {st_mode=S_IFREG|0644, st_size=110592000, ...}) = 0
> futex(0xb79b56ac, FUTEX_WAIT, 1, NULL
>
> It hangs there.
>
> Significantly, this 'rpm' command hangs also:
>
> # rpm -vv -V rpm
> D: opening  db environment /var/lib/rpm/Packages joinenv
> D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
>
> So the problem may well be with 'rpm'.

You *might* want to consider rpm --rebuilddb

I forget, when I did that, if I had to get rid of/move /var/lib/rpm/__db.*

      mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux