[PlanetCCRMA] rpmbuild question

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Wed Sep 28 14:48:01 2005


On Wed, 2005-09-28 at 21:50 +0100, Ken Smith wrote:
> I'm building the FC3 Kernel RPM with a patch to make a via6410 disk 
> controller work. The build seems to run ok except when I try to install 
> the rpm I get this error:-
> 
> package kernel-smp-2.6.11-0.3.rdt.rhfc3.ccrma (which is newer than 
> kernel-smp-2.6.10-2.1Kens03) is already installed
> 
> Do I just 'force' the install or is there something in the .spec file to 
> tell it that its really newer. Maybe I misunderstand rpm ---> very likely.

To install through rpm just add the "--oldpackage" switch to the rpm
invocation. And, just in case, for installing kernels use "-ivh", _not_
"-Uvh", you want to keep all the other kernels. 

-- Fernando