[CentOS] New rpm, same name, how to update

Robert Moskowitz rgm at htt-consult.com
Mon Dec 8 17:13:48 UTC 2008


Ralph Angenendt wrote:
> Robert Moskowitz wrote:
>   
>> I have to build my own rpms for the HIPL project.  I update my copy of 
>> the code and make rpm.
>>
>> Thing is the rpm name never changes from patch to patch.
>>
>> Is there a way to have yum apply the new code as an update and not have 
>> to erase then install?
>>     
>
> Do it the correct way and update the spec file, so that it at least gets
> a new release? 
>   

For this I will have to work with the developers to find out where the 
spec file is and how to change it without breaking something (or get 
them to change it!).

> On the other hand --replacepkgs or --oldpackage might work. 
This must require some yum plugin??? as --replacepkgs is not documented 
on my systems, nor does it work.





More information about the CentOS mailing list