[Rpm-maint] discussion on problems of RPM in real life packaging
Pixel
pixel at mandriva.com
Tue Jun 17 09:47:59 UTC 2008
Seth Vidal <skvidal at fedoraproject.org> writes:
> On Mon, 16 Jun 2008, Pixel wrote:
>
>>> However I can imagine an one-time unsubscription counterpart (something,
>>> which will evaluate list of all files going to be removed or overwritten
>>> in the forthcoming transaction and then issue a command with a such
>>> list. I think it could be possible to write it as well, but only deep
>>> inside the rpm (when rpm evaluates possible conflicts in forthcoming
>>> transaction).
>>
>> it should not be very hard to have pretrans filetriggers, but it would
>> be dangerous if the transaction somehow fails.
>
> %pretans plays all sorts of hell with chroot installs. We tend to discourage
> them as much as possible.
hum, i was not very clear.
what i really meant is "filetriggers running at %pretrans time"
as noted by Stanislav, they would be more like %preuntrans.
but anyway, this is not important since it would be a wrong solution
:)
More information about the Rpm-maint
mailing list