Delete the /var/lib/rpm/__db.001 and /var/lib/rpm/__db.002 files, and then rpm --rebuild
Sebastian On Thu, 2003-03-06 at 17:41, the wrote: > http://qa.mandrakesoft.com/show_bug.cgi?id=2220 > > > > > > ------- Additional Comments From [EMAIL PROTECTED] 2003-03-06 17:41 ------- > Re to comment #6 > > AFAIK this rpmq ... command comes from cron.daily. When used strace on it, it > seemed to be stucked like rpm -qa (that command from cron.daily does the same). > > So, rpmq is not the reason, it's just another victim. > > Denis, I did this kind of "research" two weeks ago and I'm not really sure if I > didn't make a mistake or interpreted anything incorrectly, so it'd be nice if > you could check it. Thanks ;) > > T. > > > > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > > > > ------- Reminder: ------- > assigned_to: [EMAIL PROTECTED] > status: UNCONFIRMED > creation_date: > description: > When I do "rpm -qa", the program would output several package names and then it > would get stucked. > > I didn't build version with debugging information, though when I use "strace" > program to see what's happening I see that, when it gets stucked, it calls > select(0, NULL, NULL, NULL, {timeout}) and timeout keeps increasing up until it > reaches length of one second - then it keeps timing-out after one second for ever. > > The only solution I found is system reboot :( > > T. -- Sebastian Dransfeld <[EMAIL PROTECTED]>