On Tue, 23 Jan 2007, Ric Moore wrote:
Check this out,,, trying to build my gspca driver module resulted in the complaint that I needed the kernel-source for my kernel. OK, So I'll just yum install... [root@iam gspcav1-20070110]# yum install kernel-devel kernel-headers <snippage> [...] ---> Package kernel-devel.i586 0:2.6.18-1.2869.fc6 set to be installed <--!!!! HEP ME! ---> Package kernel-devel.i686 0:2.6.18-1.2798.fc6 set to be erased ---> Package kernel-devel.i686 0:2.6.18-1.2868.fc6 set to be erased --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: kernel-devel i586 WTF? 2.6.18-1.2869.fc6 updates 4.6 M kernel-devel i686 2.6.19-1.2895.fc6 updates 4.7 M Updating: kernel-headers i386 2.6.19-1.2895.fc6 updates 698 k Removing: kernel-devel i686 2.6.18-1.2798.fc6 installed 14 M kernel-devel i686 2.6.18-1.2868.fc6 installed 14 M Transaction Summary ============================================================================= Install 2 Package(s) Update 1 Package(s) Remove 2 Package(s) Total download size: 10 M Is this ok [y/N]: y So, I'll rip it out the i586 package again by the roots once it's installed, but I did this once before. Now it's BAAAAACK. I'm in Little Richard mode again, "Won't somebody HEP ME!?" :) Ric
What is the architecture of the corresponding kernel-2.6.18-1.2869.fc6 package? Check the architecture with rpm with the queryformat option. (Sorry, not sitting at a Fedora machine just now to check the exact format you need. Something like 'rpm -q --queryformat "%{ARCH}\n" kernel-2.6.18-1.2869.fc6'.)
The kernel-devel and kernel package architectures have to match. I think yum is doing what it thinks is the right thing based on what you have installed.
So boot to another installed kernel, remove the kernel-2.6.18-1.2869.fc6 and kernel-devel-2.6.18-1.2869.fc6 packages, and reinstall them.
-- Matthew Saltzman Clemson University Math Sciences mjs AT clemson DOT edu http://www.math.clemson.edu/~mjs