is it possible to build an rpm to upgrade another package that i did not build

Florian Festi ffesti at
Mon Sep 10 12:07:35 UTC 2012

On 09/08/2012 01:38 PM, zhong ming wu wrote:
> I would like to upgrade in place an rpm supplied by the distribution
> with one 1 compiled (only because some requirements are not in the
> distribution version)
> I just build it so that version string pattern matches what is in the
> distribution but it seems to be not possible.  What else should I do
> to the spec file so that I can do this?
> yum remove and yum install is the not the route I would like to go at
> this point because it would remove mess up the dependencies.
> sudo yum install postfix-2.9-4.1.amzn1.i686.rpm
> Loaded plugins: fastestmirror, priorities, security, update-motd
> Loading mirror speeds from cached hostfile
>   * amzn-main:
>   * amzn-updates:
> 15 packages excluded due to repository priority protections
     ^--- These are probably your problem

> Setting up Install Process
> postfix-2.9-4.1.amzn1.i686.rpm
>                                                   | 1.3 kB     00:00
> Examining /var/tmp/yum-root-UoSO56/postfix-2.9-4.1.amzn1.i686.rpm:
> postfix-2.9-4.1.amzn1.i686
> /var/tmp/yum-root-UoSO56/postfix-2.9-4.1.amzn1.i686.rpm: does not
> update installed package.
      ^- also probably cause by the priority plugin.


After disabling the priority plugin or raising the priority of your own 
repository yum should happily update the package.


Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach bei Muenchen
Handelsregister: Amtsgericht Muenchen HRB 153243
Geschaeftsfuehrer: Mark Hegarty,  Charlie Peters, Michael Cunningham, Charles Cachera

More information about the Rpm-list mailing list