ELM Upgrade failed because of a failed dependency check for audit-libs-python

ELM Upgrade failed because of a failed dependency check for audit-libs-python

book

Article ID: CTX239267

calendar_today

Updated On:

Description

When upgrading the ELM you receive a notification that the ELM upgrade failed, and you should revert to your snapshot and try again.  That doesn't help.

The ELM upgrade process is logged in /var/log/Unidesk/ApplianceUpgrader.log.  It's a chatty log, but you can bring it up in an editor (vi, nano, emacs), jump to the bottom, and scroll back up to the error.  You will see a dependency failure.

2018-07-18 04:27:15,306 INFO  Threadpool worker                     Shell: EXEC: --> Finished Dependency Resolution
2018-07-18 04:27:15,334 INFO  Threadpool worker                     Shell: EXEC: Error: Package: audit-libs-python-2.7.6-3.el7.x86_64 (@base)
2018-07-18 04:27:15,334 INFO  Threadpool worker                     Shell: EXEC:            Requires: audit-libs(x86-64) = 2.7.6-3.el7
2018-07-18 04:27:15,334 INFO  Threadpool worker                     Shell: EXEC:            Removing: audit-libs-2.7.6-3.el7.x86_64 (@uni-osupdates-4.b*********n)
2018-07-18 04:27:15,334 INFO  Threadpool worker                     Shell: EXEC:                audit-libs(x86-64) = 2.7.6-3.el7
2018-07-18 04:27:15,334 INFO  Threadpool worker                     Shell: EXEC:            Updated By: audit-libs-2.8.1-3.el7.x86_64 (unidesk-update)
2018-07-18 04:27:15,334 INFO  Threadpool worker                     Shell: EXEC:  You could try using --skip-broken to work around the problem
2018-07-18 04:27:15,334 INFO  Threadpool worker                     Shell: EXEC:                audit-libs(x86-64) = 2.8.1-3.el7


 

Resolution

Please know that this is not a general solution.  If there are other dependency failures, you should not simply remove the offending packages unless you have a snapshot you can easily roll back to.  However, audit-libs-python is a package we have seen failures with before, and it is a package we don't use.  We're not quite sure where it comes from.
  1. If you see this error, though, it's telling you we specifically are unable to meet the prerequisites of this specific package:
    • Error: Package: audit-libs-python-2.7.6-3.el7.x86_64 (@base)
  2. To resolve this specific error, uninstall that specific package.
    • yum erase audit-libs-python-2.7.6-3.el7.x86_64
  3. Reboot the ELM and try the upgrade again.