[Bug 1564187] [NEW] issue with conditional in postinst

Logan Rosen loganrosen at gmail.com
Thu Mar 31 02:06:34 UTC 2016


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
Server Team, which is subscribed to cloud-init in 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



More information about the Ubuntu-server-bugs mailing list