Please run atteched script with sh. I have commented all debconf stuff, so we should see all other errors.
Please run atteched script with sh. I have commented all debconf stuff, so we should see all other errors.