The same error also occurs in the /var/lib/dpkg/info/monotone- server.postinst . By altering the shebang of both files from #!/bin/sh to #!/bin/bash, installation runs without problem.
-- [can-not-install] postinst failure https://bugs.launchpad.net/bugs/90986 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs