RPM question: how to split an existing package in two?

Michael Schwendt bugs.michael at gmx.net
Mon Apr 2 17:14:09 UTC 2007


On Mon, 02 Apr 2007 11:35:17 -0400, seth vidal wrote:

> On Mon, 2007-04-02 at 11:29 -0400, Tom Lane wrote:
> > Per a customer suggestion, I recently separated mysql's client libraries
> > out of the base "mysql" RPM into a new "mysql-libs" RPM.  I thought this
> > would be a trivial change, but it seems "yum upgrade" fails to cope:
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=234712
> > 
> > Would someone slip me a clue on what I did wrong?  I suppose I'm lacking
> > some specfile directive, but I dunno what...
> 
> 
> so you're preserving the mysql pkg just splitting some items out of it
> into mysql-libs?
> 
> So there's no need for an obsolete.
> 
> In the above bug, as I mentioned in the comment, was the machine where
> the problem happened  multilib?

Most likely.

Because the new "mysql" package is available as x86_64 only, while
mysql-libs.i386 and mysql-devel.i386 are available for multi-lib.
An old mysql.i386 would not be updated, but would cause conflicts.




More information about the Fedora-maintainers mailing list