On Mon, 28 Mar 2005, Ville Skyttä wrote: > If the two RFEs/patches above would be accepted, I think we'd have a > complete, easy-to-use, and consistent "interface" in place for kernel > module packagers. I just committed these, so they should be in the next Rawhide kernel. > Then, in a different category: not interface, but implementation issue, > there's still https://bugzilla.redhat.com/147553 , but I tend to think > this is secondary priority. And indeed, RPM isn't able to install both the i586 and i686 version of the kernel-devel package, even though there are no file conflicts. # rpm -ivh i686/kernel-devel-2.6.11-1.1208_FC4.i686.rpm i586/kernel-devel-2.6.11-1.1208_FC4.i586.rpm warning: package kernel-devel = 2.6.11-1.1208_FC4 was already added, skipping kernel-devel < 2.6.11-1.1208_FC4 error: error reading from file i586/kernel-devel-2.6.11-1.1208_FC4.i586.rpm Note that the "error reading file" seems to be caused by something inside RPM, since I can cat the file just fine. I really don't know what the nicest way to fix this bug would be, so I guess I'd throw it out for discussion. The naive way would be to add the architecture to the name of the package - but that's butt ugly and sure to break things left and right. Any other ideas ? -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan