When updating MariaDB-server from 5.5.36 to 10.0.10 on CentOS, an error happens when trying to check information about the already installed MariaDB-server package.
The main issue seems to revolve around an invalid sed syntax:
Error in PREIN scriptlet in rpm package MariaDB-server-10.0.10-1.el6.x86_64
sed: invalid option – '1'
Full error message is attached as log file.