Bug#216949: How do you debug a postinst problem
Package: dpkg
Version: 1.10.10
Severity: wishlist
There does not seem to be any way to find out what the problem is when
dpkg reports that ``the postinstallation script returned an error code
of 1''. This is not a theoretical issue -- I've been unable to provide
useful report for bug 216944.
I suggest providing an option to run all shell scripts with -x. Of
course, you'll need to check whether they are actually #!/bin/sh or
#!/bin/bash scripts.
Thanks,
Juliusz Chroboczek
Reply to: