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.
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
The below command identifies all packages in “pi” state and removes them:
Packages in “rc” state can be safely purged using:
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.