GitLab CE 19.0.x → 19.1.0 upgrade fails on RHEL 9 due to file conflict in .agents/skills
Upgrade from gitlab-ce-19.0.2-ce.0.el9.x86_64 to gitlab-ce-19.1.0-ce.0.el9.x86_64 fails during RPM transaction test.
Error:
```
Error:
file /opt/gitlab/embedded/service/gitlab-rails/.agents/skills from install of gitlab-ce-19.1.0-ce.0.el9.x86_64 conflicts with file from package gitlab-ce-19.0.2-ce.0.el9.x86_64
```
Environment:
- GitLab CE
- From: 19.0.2-ce.0.el9.x86_64
- To: 19.1.0-ce.0.el9.x86_64
- OS: RHEL 9
- Install method: RPM via dnf
Workaround: Renaming the existing path allowed the transaction to continue:
mv /opt/gitlab/embedded/service/gitlab-rails/.agents/skills \
/opt/gitlab/embedded/service/gitlab-rails/.agents/skills.bak
Additionals:
```
rpm -qf /opt/gitlab/embedded/service/gitlab-rails/.agents/skills
ls -ld /opt/gitlab/embedded/service/gitlab-rails/.agents/skills
dnf install ./gitlab-ce-19.1.0-ce.0.el9.x86_64.rpm
```
Full-Error-Report:
```
[root@***-***-git01 git-install]# dnf install gitlab-ce-19.1.0-ce.0.el9.x86_64.rpm
Updating Subscription Management repositories.
Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) 18 kB/s | 4.5 kB 00:00
EPEL 9 11 kB/s | 2.3 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 105 kB/s | 4.1 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 71 kB/s | 4.5 kB 00:00
Dependencies resolved.
=========================================================================================================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================================================================================================
Upgrading:
gitlab-ce x86_64 19.1.0-ce.0.el9 @commandline 941 M
Transaction Summary
=========================================================================================================================================================================================================================
Upgrade 1 Package
Total size: 941 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
file /opt/gitlab/embedded/service/gitlab-rails/.agents/skills from install of gitlab-ce-19.1.0-ce.0.el9.x86_64 conflicts with file from package gitlab-ce-19.0.2-ce.0.el9.x86_64
```
issue