The upstream fix for this is here: https://github.com/calamares/calamares/commit/5568d22549384a092a0d294d7343840d186839c6
To implement it in situ, edit /usr/lib/x86_64-linux-gnu/calamares/modules/networkcfg/main.py so that line 158 reads like: os.chmod(f.fileno(), 0o600) instead of its current state of: os.chmod(f, 0o600) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2054795 Title: Calamares - Installation failed - Bad main script file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/2054795/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs