Troubleshooting Tip: FortiSIEM v7.5.0 upgrade failure due to package conflict
Description
This article describes the issue that the upgrade to v7.5.0 may fail due to conflicting mono/xamarin packages and dependency issues during an OS upgrade, such as the following error observed below:
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /usr/lib64/libmonoboehm-2.0.so.1.0.0 from install of mono-core-6.12.0-5.el9.x86_64 conflicts with file from package libmonoboehm-2_0-1-6.12.0.107-0.xamarin.9.epel8.x86_64
file /usr/lib64/libmonosgen-2.0.so.1.0.0 from install of mono-core-6.12.0-5.el9.x86_64 conflicts with file from package libmonosgen-2_0-1-6.12.0.107-0.xamarin.9.epel8.x86_64
file /usr/lib/mono/gac/System.Data.Services.Client/4.0.0.0__b77a5c561934e089/System.Data.Services.Client.dll from install of mono-data-6.12.0-5.el9.x86_64 conflicts with file from package mono-winfxcore-6.12.0.107-0.xamarin.9.epel8.x86_64
file /usr/lib64/pkgconfig/monosgen-2.pc from install of mono-devel-6.12.0-5.el9.x86_64 conflicts with file from package libmonosgen-2_0-devel-6.12.0.107-0.xamarin.9.epel8.x86_64
file /usr/lib64/pkgconfig/mono-2.pc from install of mono-devel-6.12.0-5.el9.x86_64 conflicts with file from package libmono-2_0-devel-6.12.0.107-0.xamarin.9.epel8.x86_64
file /usr/share/mono-2.0/mono/eglib/eglib-config.h from install of mono-devel-6.12.0-5.el9.x86_64 conflicts with file from package libmono-2_0-devel-6.12.0.107-0.xamarin.9.epel8.x86_64
file /usr/lib/mono/4.5/mod.exe from install of mono-devel-6.12.0-5.el9.x86_64 conflicts with file from package monodoc-core-6.12.0.107-0.xamarin.9.epel8.x86_64
file /usr/lib/mono/gac/System.Data.Services.Client/4.0.0.0__b77a5c561934e089/System.Data.Services.Client.dll from install of mono-winfx-6.12.0-5.el9.x86_64 conflicts with file from package mono-winfxcore-6.12.0.107-0.xamarin.9.epel8.x86_64
Scope
FortiSIEM.
Solution
Revert to the last working snapshot.
Run system update.
dnf update -yCheck and remove conflicting Mono packages.
First, identify the installed Mono/Xamarin packages and confirm that the packages correspond to the conflicts reported during the upgrade.
rpm -qa | grep -Ei 'mono|xamarin'
rpm -e --nodeps mono-core
rpm -e --nodeps mono-devel
rpm -qa | grep -i mono
dnf remove mono\*Note: Before removing any packages, verify the installed Mono/Xamarin packages and confirm that they match the package conflict shown in the upgrade error. Do not remove unrelated packages.
Clean package cache.
dnf clean packages
dnf clean all
dnf update -yDisable FIPS.
/usr/bin/fips-mode-setup --disable
rebootPerform the upgrade once again to v7.5.0.
