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

Scott Silva ssilva at sgvwater.com
Mon Dec 8 17:58:56 UTC 2008


on 12-8-2008 9:13 AM Robert Moskowitz spake the following:
> 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.
Those are rpm commands, not yum commands.


-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos/attachments/20081208/4b308b38/attachment.bin 


More information about the CentOS mailing list