[Aptitude-devel] Please review: proposed changes to aptitude error reporting
Daniel Hartwig
mandyke at gmail.com
Fri Jun 8 15:47:46 BST 2012
On 8 June 2012 21:55, Daniel Hartwig <mandyke at gmail.com> wrote:
> Effectively, all errors are now reported and the exit status is well-defined:
>
> 0: success
> 1: user aborted or no matches (with search, for example)
> 2: error, but not fatal; some actions may have been effective
> 255: fatal error; no actions effective
> The alternative to this, as suggested by one commenter, is to copy
> apt-get exit codes:
>
> 0: success or no matches (apt-cache search)
> 1: user aborted
> 100: any kind of error
I just realise that it is easy to implement both schemes, with some
kind of --apt compatibility switch.
More information about the Aptitude-devel
mailing list