How do you fail a Ubuntu installation when there is a failure in a debian package postinst
I'm wonder if it is possible to fail a Ubuntu installation CD when there is a failure in a postinst of a debian package. We are building an alternative installation CD and we have a debian package that installs a base database for our customers. If there is issues in the postinst of this debian package the installation doesn't fail and continues on.
I'm wanting failures in the postinst to fail the installation so we can know immediately that there is problems with the database before they become issues found at runtime. I have added the proper exit codes to the postinst script and I can see that the postinst script stops its execution but the rest of the installation progresses on.
Is it possible to fail an installation when a postinst script for a package exits with an exit status greater than zero. It seems that conflicts with packages will cause the installation to fail.
Any help would be greatly appreciated.
Thanks,
Aaron Getz
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu irm Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Aaron Getz
- Solved:
- Last query:
- Last reply: