Description of problem: Yum is deadlocking in "Setting up Update process". Version-Release number of selected component (if applicable): yum-metadata-parser-1.1.2-8.fc9.x86_64 yum-packagekit-0.2.2-2.20080529.fc10.x86_64 yum-utils-1.1.13-2.fc9.noarch yum-3.2.16-2.fc9.noarch How reproducible: 100% on my system. Steps to Reproduce: 1. run yum update 2. 3. Actual results: deadlocks Expected results: install updates Additional info: I see I am not the only person with this trouble: http://www.linuxquestions.org/questions/fedora-35/fc9-yum-freezes
Created attachment 308825 [details] Output of strace -o yum.log -f yum update I have to use kill -9 to terminate this process.
The last part of the strace is: 20191 open("/var/lib/rpm/Packages", O_RDONLY) = 9 20191 fcntl(9, F_SETFD, FD_CLOEXEC) = 0 20191 fstat(9, {st_mode=S_IFREG|0644, st_size=57294848, ...}) = 0 20191 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0 20191 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 20191 pread(9, "\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\340\0\227\10\0\2\373\17\366\17\361\17"..., 4096, 4096) = 4096 [...] 20191 pread(9, "\0\0\0\0\1\0\0\0\271/\0\0\270/\0\0\0\0\0\0\1\0\302\2\0\7doc/\0/"..., 4096, 50040832) = 4096 20191 futex(0x7f4af5d3b2f8, FUTEX_WAIT, 2, NULL) = ? ERESTARTSYS (To be restarted)
If you are sure nothing else is using rpm, you can probably fix this by doing: rm -f /var/lib/rpm/__db*
and then you probably want to run: rpm --rebuilddb
This looks like it might be the same problem as in bug 444321.
*** This bug has been marked as a duplicate of bug 444321 ***