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

Re: Yum hangs



On Fri, 2007-01-12 at 15:17 +0100, Frank Elsner wrote:
> Hallo,
> 
> my "yum update" hangs :-(
> 
> # yum update
> Loading "installonlyn" plugin
> Setting up Update Process
> Setting up repositories
> Reading repository metadata in from local files
> 
> 
> In an other xterm:
> 
> # ps -ef | grep yum
> root     12990  3614  0 15:06 pts/5    00:00:00 /usr/bin/python /usr/bin/yum update
> root     13280 13248  0 15:13 pts/10   00:00:00 grep yum
> # strace -p 12990
> Process 12990 attached - interrupt to quit
> futex(0xb7bf17b0, FUTEX_WAIT, 2, NULL
> 
> 
> What's going on?
Bugs.

>  How to solve the problem?
Dunno, but I can tell you what I do to recover from such breakdowns (at
average ca. 2-3 times per week with FC6)

1. reboot
2. rm -f /var/lib/__db*
3. rpm --rebuilddb
4. Check for duplicate entries inside of the rpmdb
and "yum remove" all older versions it might contain.

5. As prevention from silent unattended breakdowns: Disable yum-updatesd

Ralf




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