Public bug reported: I received the following message when upgrading cloud-init in Ubuntu Xenial: /var/lib/dpkg/info/cloud-init.postinst: 206: /var/lib/dpkg/info/cloud-init.postinst: -f: not found
I looked at the script, and there appear to be missing brackets around the test. Specifically, line 206 should probably read: if [ ! -f /var/lib/cloud/instance/obj.pkl ]; then ** Affects: cloud-init (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1564187 Title: issue with conditional in postinst To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1564187/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs