Upgrading 20.12 to 20.13 Fails on VMware With Error at Privileged Migrations Step
Learn how to resolve a privileged migrations error when upgrading from Oracle AVDF 20.12 to 20.13.
Problem
When upgrading from Oracle AVDF 20.12 to 20.13, the upgrade fails on VMware with the following error:
run-privileged-migrations ERROR - ODF-10001: Internal error: Fatal error running migrations
Solution
To resolve this issue, first confirm that you are experiencing the same error. If so, follow the subsequent steps:
-
As the
rootuser, check the integrity of the RPM database:cd /var/lib/rpm /usr/lib/rpm/rpmd_verify PackagesIf there are no errors, these instructions do not apply, contact Oracle Support.
-
If errors are found, run the following commands to rebuild the RPM database:
cd /var/lib cp -ax --backup=t rpm rpm.old rm -i rpm/__db.??? rpm --rebuilddb -
Once you have rebuilt the RPM database, check the validity of the rebuilt package database:
cd /var/lib/rpm /usr/lib/rpm/rpmdb_verify Packages -
Once confirmed, proceed with the upgrade according to the specific type of RPM database corruption encountered. Follow the appropriate steps based on the scenario experienced:
- Resume the upgrade if the privileged migrations have not yet started:
-
Reboot the system.
-
Log in as the
rootuser. -
Run the following command:
systemctl isolate avdf-upgrade.target -
To review the upgrade status, re-log in on the console as the
rootuser.
-
- Resume the upgrade after the privileged migrations have started:
-
Apply the AVDF 20.13 update to the recovery utility:
rpm -U /media/avdf-install/bootstrap/Packages/avdf-bootstrap-20.13.0.0.0-*.noarch.rpm -
Check the current status:
/opt/avdf/bin/privmigutl --status -
Review the output to find the failing migration and re-run it manually as the
rootuser. -
Once the migration has completed successfully, run the following command:
/opt/avdf/bin/privmigutl --resume
-
- Resume the upgrade if the privileged migrations have not yet started: