Frederik Himpe <[EMAIL PROTECTED]> writes:
> Hi,
>
> Every program opening the rpm db is hanging here, rpmdrake, kpackage. I
> did an strace and I see this:
> select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
> select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
> select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
> ...
>
> I did rpm --rebuilddb, and saw that after about an hour it was still
> running. Well, running, in top I saw in the STAT column "S<". I did an
> strace on the rpmdb process, and again the same Timeout error... Any
> ideas?
I don't understand why we need to repeat always the same thing...
Anyway.
Do "rm -f /var/lib/rpm/__*" before doing the --rebuilddb, then do
the --rebuilddb. It should work.
--
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/