Missing dependency when updating from 9.2.9 to 10.0.3 (omnibus, CE)
Summary
When attempting to use the omnibus package to upgrade a Gitlab CE 9.2.9 server to the latest CE 10.0.3 release (on a Centos 6 system), the upgrade command returned an error with a failed dependency.
# rpm -Uvh gitlab-ce-10.0.3-ce.0.el6.x86_64.rpm
warning: gitlab-ce-10.0.3-ce.0.el6.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID f27eab47: NOKEY
error: Failed dependencies:
policycoreutils-python is needed by gitlab-ce-10.0.3-ce.0.el6.x86_64
You have mail in /var/spool/mail/root
#
Steps to reproduce
Have a Centos 6 system with Gitlab CE 9.2.9 installed. Pull down the 10.0.3 omnibus package from the Gitlab package repository and then use "rpm -Uvh gitlab-ce-10.0.3-ce.0.el6.x86_64.rpm" to install the package. The installation fails with an error saying that the policycoreutils-python dependency is missing.
What is the current bug behavior?
# rpm -Uvh gitlab-ce-10.0.3-ce.0.el6.x86_64.rpm
warning: gitlab-ce-10.0.3-ce.0.el6.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID f27eab47: NOKEY
error: Failed dependencies:
policycoreutils-python is needed by gitlab-ce-10.0.3-ce.0.el6.x86_64
You have mail in /var/spool/mail/root
#
What is the expected correct behavior?
For the installation/upgrade process to include all dependencies so this missing dependency line does not come up.
Possible fixes
Make sure that the omnibus package installs all required dependencies for the gitlab application.
Edited by Mike Greiling