Citrix App Layering - ELM upgrade failure when upgrading from 24.09 to 25.11

book

Article ID: CTX696812

calendar_today

Updated On:

Description

When upgrading ELM from version 24.09 to 25.11, upgrade fails with the following error:

"A failure occurred while upgrading the appliance. Please try the upgrade again after reverting to a clean snapshot"


Cause

ELM appliance had additional packages installed at the OS level that were not part of the original appliance image. 

Resolution

Uninstalling the additional packages from the appliance allowed the upgrade process to complete successfully.

Issue/Introduction

When upgrading ELM from version 24.09 to 25.11, upgrade fails with the following error:

"A failure occurred while upgrading the appliance. Please try the upgrade again after reverting to a clean snapshot"

Additional Information

/var/log/dnf* logs will record information regarding the packages that are being upgraded / removed and if there are any errors related to the upgrade / removal. Example error will look like the following:

Problem 1: cannot install both krb5-libs-1.18.2-32.0.1.el8_10.x86_64 from unidesk-update and krb5-libs-1.18.2-29.0.1.el8_10.x86_64 from @System

  • package krb5-devel-1.18.2-29.0.1.el8_10.x86_64 from @System requires krb5-libs(x86-64) = 1.18.2-29.0.1.el8_10, but none of the providers can be installed
  • cannot install the best candidate for the job
  • problem with installed package krb5-devel-1.18.2-29.0.1.el8_10.x86_64


Problem 2: cannot install both libselinux-2.9-11.el8_10.x86_64 from unidesk-update and libselinux-2.9-8.el8.x86_64 from @System

  • package libselinux-devel-2.9-8.el8.x86_64 from @System requires libselinux(x86-64) = 2.9-8.el8, but none of the providers can be installed
  • cannot install the best candidate for the job
  • problem with installed package libselinux-devel-2.9-8.el8.x86_64

By default xxxx-devel packages are not part of the ELM image. So these need to be removed by running  

dnf remove <package_name_1> <package_name_2> ...