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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to