Re: Latest kernels and megaraid module (was: Re: Boot poster challenge)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 21 Nov 2004, Jeff Pitman wrote:

> On Sunday 21 November 2004 09:46, Per Bjornsson wrote:
> > As far as I can tell there's no way to tell that the
> > post-install scripts failed using RPM, so this really isn't up2date's
> > fault, it's a limitation of rpm.
> 
> Any non-zero return code in scriptlets causes RPM to issue a statement 
> about it.  When uninstalling, RPMs simply don't uninstall if the postun 
> scriptlets fail.  I've not experimented with $?, but I would assume 
> up2date could fully detect these issues as long as the scriptlets 
> produce appropriate error returns.

Few people know this is functionality of the shell. See the -e option. 

What is a problem though, is that rpm seldom allows you to see what 
failed. Just like rpmbuild does not (from the return code) give you a clue 
what happened and your only resort is to process the output :/

--   dag wieers,  dag@xxxxxxxxxx,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux