Skip to main content
jankit6
Staff
Staff
April 18, 2025

Troubleshooting Tip: How to fix package version conflict issue occurs during FortiSOAR upgrade from v7.3.0 to v7.4.0

  • April 18, 2025
  • 0 replies
  • 275 views
Description This article describes how to fix the package version conflict issue that occurs during the FortiSOAR upgrade.
Scope FortiSOAR v7.3 deployed on an Azure host system.
Solution

FortiSOAR upgrade from v7.3.0 to v7.4 fails with below error during pre-checks:

 

Error:


- cannot install both libstdc++-8.5.0-16.el8_7.x86_64 from fsr-rockylinux-baseos and libstdc++-8.5.0-22.el8_10.x86_64 from @system
- cannot install both gcc-8.5.0-16.el8_7.x86_64 from fsr-rockylinux-appstream and gcc-8.5.0-15.el8.x86_64 from fsr-rockylinux-appstream
- package clang-devel-14.0.6-1.module+el8.7.0+1080+d88dc670.x86_64 from fsr-rockylinux-appstream requires clang(x86-64) = 14.0.6-1.module+el8.7.0+1080+d88dc670, but none of the providers can be installed
- cannot install the best update candidate for package libstdc++-8.5.0-22.el8_10.x86_64
- cannot install the best update candidate for package gcc-8.5.0-10.1.el8_6.x86_64
- cannot install the best update candidate for package clang-devel-13.0.1-2.module+el8.6.0+987+d36ea6a1.x86_64
[2025-02-25 16:01:42] (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[2025-02-25 16:01:42] Error: Failed to run yum update

 

Root cause:

Certain images deployed on the Azure platform may include different versions of the libstdc++ packages.
In some cases, the presence of a newer libstdc++ version causes the upgrade script to fail when attempting to upgrade dependent packages, specifically, the clang package, which depends on gcc-c++ and libstdc++ packages.

 

Resolution:

Downgrade the libstdc++ package version to the required version and then try to re-run the upgrade script.

 

yum downgrade libstdc++-8.5.0-15.el8

 

Note: Take a VM snapshot before downgrading the package.