> Well, in the case of failing dependencies, it seems like any choice at > the prompt gives a 0 return value. Is the rationale that 'aptitude > managed to abort successfully' equals success? If that is the intended > functionality, then I cannot trust aptitude to give any meaningful > return value.
In choosing to abort at the prompt the return value of 0 should be considered a bug. Other choices made at the prompt have the effect of changing your instructions, and thus, if the new request succeeds, the return value should indicate that. > And as far as I can see, the bug you refer to only concerns failing to > install a specified version. At least that's what it patches. Both case 2 in the OP and the case in the mentioned Debian bug report are symptoms of the same underlying problem: failure to find the specified installation candidate. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/919216 Title: aptitude returns 0 exit status code even if the requested action is not successful To manage notifications about this bug go to: https://bugs.launchpad.net/aptitude/+bug/919216/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs