On Wed, Jul 28, 2010 at 6:52 AM, MJ Ray <m...@phonecoop.coop> wrote: > Hi all - I'm having some problems with updating the Postfix recipe. > > I've updated to latest Scripts and Compile by InstallPackage and > the recipe being used is a simple NewVersion Postfix 2.7.1. > Even with --verbose, it finishes with the less than helpful lines:- > > Compile: Asserting that requirements are met... > PrepareProgram: Running as superuser... > PrepareProgram: Running as superuser... > Compile: Installation was moved to /Programs/Postfix/2.7.1-failed > Compile: Postfix 2.7.1 - Failure in pre-install operation. > > How do I find out what the failure is? > > The pre_install command seems to succeed when run in bash manually. Except that it doesn't really, it just looks like it - `[ test ] && Die` always fails, either because the test is true and it dies or the test is false and the chain short-circuits. I'm not sure how that got in there, but you can fix it just by changing the pre_install to use != and || instead.
I'm not sure how we can give better failure message there. It really is just that pre_install failed. Perhaps dump out the hook script, but even that is just going to be a bunch of inclusions and variable settings finishing with "pre_install". These bits are a pain to debug so I would welcome any suggestions for making them more communicative. -Michael _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel