Creating RPM with Conflicting Files
Stuart D. Gathman
stuart at bmsi.com
Wed Mar 7 15:52:27 UTC 2012
Long ago, Nostradamus foresaw that on Mar 6, Jen Tille would write:
> I bundle python along with several other packages into my own RPM and
> release to my clients.
>
> My old RPM and new RPM contain the same file: /usr/local/bin/pydoc so my
> new RPM conflicts and won't install.
>
> Some systems may have both RPMs installed while others may only have the new
> RPM.
>
> How can I create the new RPM so it will overwrite the pydoc file if the
> system has the old RPM?
Put the pydoc (and any other common files) into its own RPM, and make both
RPMs depend on it.
--
Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
More information about the Rpm-list
mailing list