Error output from rpm pre/post scripts (was Re: Florian La Roche please stop mass filing bugs)
mclasen at redhat.com
Thu Jul 5 20:15:33 UTC 2007
On Thu, 2007-07-05 at 16:13 -0400, Jesse Keating wrote:
> On Thursday 05 July 2007 16:15:02 Michael Thomas wrote:
> > What about adding 'Requires(post): coreutils' to bring in 'touch' for
> > the gtk+ icon cache scriptlet:
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=246770
> > It seems excessive to me, because I can't imagine a situation where
> > coreutils would not get installed. But I also haven't looked that
> > closely at the dependency tree either.
> Often it's not about whether it will be installed or not, but rather it's
> about whether it will be installed /before/ your %pre/%post script is ran if
> the packages are in the same transaction (IE installer or big upgrades).
Now that we are discussing this again, I'd like to point out that the
recent ldconfig/%posttrans discussion is somewhat related to this. If
we can make %posttrans useful for ldconfig, we can use it for icon cache
updates too. That would be a big win.
More information about the Fedora-maintainers