RPM Community Forums

Mailing List Message of <rpm-users>

Replacing a file already owned by another rpm package

From: Oguz Yilmaz <oguzyilmazlist@gmail.com>
Date: Mon 12 Jul 2010 - 07:53:53 CEST
Message-ID: <AANLkTilmRth0biOtTNPTNOX0xyYAEiCb5f6PdjPnJk-m@mail.gmail.com>
Hi all,

I am on a task for packaging a kernel module.
kernel-xx.rpm has already e1000e.ko module in it.

I will make a new rpm with e1000e.ko with the same path.

What do you suggest for installing new rpm without conflicts and
force? There may be some hacks in my mind:
For example:
Adding e1000e.ko file with another path in the rpm and use postinstall
script to replace old file.

However, if exists and if possible, I want to use most standard way of
doing this.


Oguz Yilmaz
Received on Mon Jul 12 07:54:12 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.