On Tue, 2008-02-26 at 14:16 -0600, Johnny Hughes wrote: > Bob Taylor wrote: > > On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote: > > > > [snip] > > > >> what happens if you edit /etc/rpm/platform and change it too: > >> > >> i686-redhat-linux > > > > Nothing. > > > > I downloaded the current rpm file this morning and ran rpm -Uvh > > --force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm. > > > > Rpm seems to behave oddly. I had downloaded the current kernel rpm and > > installed it with the command rpm -ivh --ignorearch [file] successfully. > > I can not remove it with the command rpm -e kernel-2.6.18-53.1.13 but > > can if I add .el5 to the end it does. Before I deleted it I ran the > > command rpm -ql kernel and all three kernels rpm files were listed > > including the kernel rpm which rpm -e said wasn't installed. This > > doesn't make sense to me. > > > > I have done the following: > > > > rpm -Uvh --force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm > > edit /etc/rpm/platform to i686-redhat-linux > > rpm -e kernel-2.6.18-53.1.13.el5 > > yum clean all > > yum upgrade kernel > > returned Installed: kernel.i686 0:2.6.18-53.1.13.el5 > > Complete! > > > > It looks like the problem may be in rpm after 4.4.2-37. Before I go to > > the rpm people, I need to confer with Ray Van Dolson who says his is the > > same as mine and he has no problem updating kernels. After Ray and I > > resolve this issue, I will send a last email to the list hopefully > > ending this subject with the resolution to this problem. > > > > The problem was most likely the /etc/rpm/platform I agree. > if it is i386 and not i686 then is will not allow i686 RPMS to be installed. > > That file should only be updated IF anaconda does an install or upgrade. > > It should only be i386 of it is installed on a pentium classic processor > (or equivalent). I have a Pentium Classic or equivalent? I want to verify if I've found a bug or ? in rpm. After thought: I seem to be running OK on the i686 kernel. It would seem to me, if I *do* have one of those, it would be a mistake to put i386 in /etc/rpm/platform. > That is the only cause of the "incompatible arch". > > Nothing in centos except an install/upgrade via anaconda should ever > tough that file, so once you change it, it should remain changed. > > Reboot a couple times and makes sure it (/etc/rpm/platform) stays the same. Will do as soon as I have a chance. This has caused me to lose much time. > If it changes we need to figure out why. I will post a message if so. Better not! :-) -- Bob Taylor _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos