Summary
Before performing a system upgrade on a Versa appliance, it is recommended to verify that no system packages are in an inconsistent or incomplete state. Packages found in “pi” (partially installed) or “rc” (removed but configuration files remain) state can cause upgrade failures or unexpected behavior.
These packages are typically not dependencies of Versa services, but clearing them ensures a clean upgrade environment.
Identifying Packages in Inconsistent State
Use the following command to list all installed packages and filter out those not in a clean “ii” (installed) state:
Packages in the following states should be addressed:
pi – Partially installed
rc – Removed, but configuration files still present
Procedure to Clean Inconsistent Packages
1. Remove packages in “pi” state
The below command identifies all packages in “pi” state and removes them:
2. Purge packages in “rc” state
Packages in “rc” state can be safely purged using:
Example Output
Recommendation
It is strongly recommended to perform this cleanup before any upgrade to avoid failures or partial configuration loads.
If you encounter packages that appear to be Versa dependencies or if removal is blocked, contact Versa Support before proceeding.