Howto print message on rpm install?

Axel Thimm Axel.Thimm at ATrpms.net
Wed Dec 27 11:08:40 UTC 2006


On Wed, Dec 27, 2006 at 06:40:00AM +0100, Thorsten Leemhuis wrote:
> Jeffrey C. Ollie schrieb:
> > On Tue, 2006-12-26 at 14:55 +0100, Thorsten Leemhuis wrote:
> >> BTW, I think there was already a consensus some months ago to disallow
> >> output from the rpm scripts entirely. But it never found the way into
> >> the guidelines afaics :-/
> > Maybe there was an agreement on non-error messages, but error messages
> > should be allowed in certain circumstances.
> 
> Well, allowed maybe, but it IMHO does not make to much sense for the
> same reasons (you won't see them in nightly yum updates, front ends like
> pirut won't show them and you often won't even see them in plain yum as
> they often scroll away quite soon due to the output from installing
> other packages, ...), so you should not rely on them.

An error message should of course be accompanied with a non-zero exit
code of the scriplet, in which case no tool will scroll by (or if a
tool would do that it would ba a bug in the tool)
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20061227/4a71e843/attachment.sig>


More information about the fedora-extras-list mailing list