--- ./plugins/migrate.py_orig	2025-10-13 00:08:05.677788177 -0500
+++ ./plugins/migrate.py	2025-10-13 00:10:41.658043140 -0500
@@ -51,6 +51,8 @@
         demands.root_user = True
 
     def run(self):
+        # First try to create the pkg_yumdb database
+        os.system("LIBPATH=/opt/freeware/lib:/usr/lib:/lib /opt/freeware/bin/python2 /opt/freeware/sbin/update_pkg_yumdb") 
         logger.info(_("Migrating history data..."))
         input_dir = os.path.join(self.base.conf.installroot, '/var/lib/yum/')
         persist_dir = os.path.join(self.base.conf.installroot, self.base.conf.persistdir)
