Ubuntu: upgrading from 14.04 to 16.04, error: Invalid command ‘LockFile’,

Ubuntu: upgrading from 14.04 to 16.04, error: Invalid command ‘LockFile’,