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

Re: aptitude has poor exit status behaviour



On Thu, Dec 13, 2007 at 01:56:53PM +0000, Nick Boyce wrote:
> Andrew Sackville-West wrote:
> > On Thu, Dec 13, 2007 at 02:24:15AM +0000, Nick Boyce wrote:
> >
> >> (Etch) aptitude's error handling [cough] falls short of optimum
> >> behaviour.  In particular it returns an exit status of zero in various
> >> failure situations
> [...]
> >> I did a quick test with 'apt-get' on Sarge, and found it returns exit
> >> status 100 in at least some of these situations (I didn't test all of
> >> them), so there seems to have been some regression here :
> > 
> > apt-get is a different program. There's not a regression unless the
> > lack of error codes appears in apt-get in etch and later.
> 
> Agreed it's a different program (though I would guess it shares at least
> some code) - but what I meant was a regression in system functionality
> as a whole, rather than in 'aptitude' specifically.  Sorry if I abused
> the term.

fair enough. meanwhile, looks like you got a fantastic response!

A

Attachment: signature.asc
Description: Digital signature


Reply to: