I am in the process of updating a dozen or so workstations from CentOS 4.3 to CentOS 4.4. I set up a local YUM repository, and have been able to successfully update all systems except for one. Both yum and rpm either hang or core dump on this system. I've done a "yum clean all" and an "rpm --rebuilddb" (after deleting the __db files). I was able to successfully update yum itself, but now even a "yum --version" or "rpm -q yum" hang and can only be killed with a "kill -9 <pid>". Any suggestions on how to proceed? I had no problems on any of the other systems, and they were all configured the same way. I wonder if I may have screwed up when trying to clean up the RPM database (I was following instructions posted a few months ago to this mailing list)... Alfred
Alfred von Campe spake the following on 10/2/2006 2:14 PM:> I am in the process of updating a dozen or so workstations from CentOS > 4.3 to CentOS 4.4. I set up a local YUM repository, and have been able > to successfully update all systems except for one. Both yum and rpm > either hang or core dump on this system. I've done a "yum clean all" > and an "rpm --rebuilddb" (after deleting the __db files). I was able to > successfully update yum itself, but now even a "yum --version" or "rpm > -q yum" hang and can only be killed with a "kill -9 <pid>". > > Any suggestions on how to proceed? I had no problems on any of the > other systems, and they were all configured the same way. I wonder if I > may have screwed up when trying to clean up the RPM database (I was > following instructions posted a few months ago to this mailing list)... > > AlfredWhen you updated yum, did you also update sqlite and the other yum dependencies at the same time? -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
While updating my centOS workstation the other day, I find the update hanging at the line: Updating : udev ##################### [153/398] I followed the advice of waiting a long time. So I waited at least 2 hours (lunch helped). I know there are always problems interrupting updates. Finaly, I killed active processes like 10-hal.dev with all kind of parameters (sound, tty, block...) which I could summarize as a huge part of the /dev. There were 2 actives at a time and killing one allowed the next one. Then, yum update finaly continued updating and finished his job. The reboot went smoothly. Questions: 1. Am I the only one with this problem? 2. Could I get problems following my killings? I suspect that there were onyl timeouts, but I know nothing about udev. 3. Any idea of what could have been wrong? 4. Are there advices of a better update strategy? Since centos 4.0, this is my first update problem (4.3 to 4.4). Anne -- Anne Possoz, Domaine IT-GE Espace logiciel libre ? l'Ecole Ecole Polytechnique F?d?rale de Lausanne, 1015 Lausanne (Switzerland)
On Mon, 2006-10-02 at 17:14 -0400, Alfred von Campe wrote:> I am in the process of updating a dozen or so workstations from > CentOS 4.3 to CentOS 4.4. I set up a local YUM repository, and have > been able to successfully update all systems except for one. Both > yum and rpm either hang or core dump on this system. I've done a > "yum clean all" and an "rpm --rebuilddb" (after deleting the __db > files). I was able to successfully update yum itself, but now even a > "yum --version" or "rpm -q yum" hang and can only be killed with a > "kill -9 <pid>".Download and install the latest versions of sqlite and python-sqlite using RPM. You should be able to get them here: http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/ (or substitute x86_64 for i386 if required)> > Any suggestions on how to proceed? I had no problems on any of the > other systems, and they were all configured the same way. I wonder > if I may have screwed up when trying to clean up the RPM database (I > was following instructions posted a few months ago to this mailing > list)...-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20061003/6c58fdc3/attachment-0003.sig>
On Oct 3, 2006, at 11:11, Johnny Hughes wrote:> Download and install the latest versions of sqlite and python-sqlite > using RPM.The problem is that rpm itself is hanging (even a simple "rpm -q sqlite" would hang). I did a "rm -f /var/lib/rpm/__db*; rpm -vv rebuilddb" a second time and that finally fixed the problem. Now rpm is happy and so is yum. Everything is back to normal. The update just finished successfully. Thanks, Alfred
rpmdb --initdb work for me Bla? Bogataj ----------- Alfred von Campe wrote: "I am in the process of updating a dozen or so workstations from CentOS 4.3 to CentOS 4.4. I set up a local YUM repository, and have been able to successfully update all systems except for one. Both yum and rpm either hang or core dump on this system. I've done a "yum clean all" and an "rpm --rebuilddb" (after deleting the __db files). I was able to successfully update yum itself, but now even a "yum --version" or "rpm -q yum" hang and can only be killed with a "kill -9 <pid>". Any suggestions on how to proceed? I had no problems on any of the other systems, and they were all configured the same way. I wonder if I may have screwed up when trying to clean up the RPM database (I was following instructions posted a few months ago to this mailing list)... Alfred"