Why am I Seeing RPM Conflicts with /var/opt/rh/rh-redis5 when Installing or Upgrading Ansible Tower?
Environment
- Ansible Tower 3.7
- Ansible Tower 3.8
Issue
The rh-redis5-runtime-3.3-1
package shows a conflict with /var/opt/rh/rh-redis5
when running setup.sh
Resolution
-
Ensure that
/opt/rh
and/var/opt/rh
are not linked in anyway.Both directories should be separate as both paths point to libraries, binaries, etc. required to enable SCL and utilize the components brought over by SCL.
Root Cause
- Symlink
/opt
to/var/opt
or vice versa creates a collision when installing therh-redis5
runtime for SCL.
Diagnostic Steps
-
Install the Tower RPM task returns:
Transaction check error: file /var/opt/rh/rh-redis5 conflicts between attempted installs of rh-redis5-runtime-3.3-1.el7.x86_64 and rh- redis5-runtime-3.3-1.el7.x86_64
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments