When starting the upgrade or update, you notice the following errors:

./install
grep: osystem: No such file or directory
./install: 199: [: !=: exexpected operator
./install: 44: [: /local/install/fp1/linux64/tools/-E: unexpected operator
./install: 51: [: /local/install/fp1/linux64/tools/-e: unexpected operator
./install: 57: [: /local/install/fp1/linux64/tools/-e: unexpected operator

The Domino install script uses #!/bin/sh for the shell. Ubuntu uses bash.

In order to get install working, you need to alter this script.

Change the first line in install to #!/bin/bash
Before running install again, we need to add an environment variable:
export INSTALL_NO_CHECK=1
./install

Views: 104

By angioni

One thought on “Domino server V14.x upgrade or update failed with error – unexpected operator on Ubuntu OS”
  1. This isn’t new in 14.0.
    Ubuntu uses the dash instead of bash by default.
    Dash has some differences. There is a simple way around it. You can just start it with the bash by prefixing your install command with bash.
    In 14.5 this is fixed and the install script works also on Ubuntu. You still need the export to disable the check, because the required stdc++ cannot be checked on Ubuntu.
    The fix ensures the commands mentioned in your blog post work with dash as well. You don’t need to witch to the bash any more.

Leave a Reply

Your email address will not be published. Required fields are marked *