MySQL 5.7 RPM Installation Fails On SLES With Error: "sed: -e expression #1, char 17: unknown option to `s' "

(Doc ID 2271562.1)

Last updated on MAY 30, 2017

Applies to:

MySQL Server - Version 5.7 to 5.7 [Release 5.7]
Information in this document applies to any platform.

Symptoms

When attempting to install MySQL Server in SLES 12, the following error occurs:

# rpm -ivh mysql-commercial-server-5.7.16-1.1.sles12.x86_64.rpm

warning: mysql-commercial-server-5.7.16-1.1.sles12.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY

Preparing... ################################# [100%]

Updating / installing...

1:mysql-commercial-server-5.7.16-1.################################# [100%]

sed: -e expression #1, char 17: unknown option to 's'

/bin/chmod: cannot access '': No such file or directory

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms