What determines whether a partial TeX upgrade can be safely resumed?
In contemporary TeX Live maintenance cycles, a distribution upgrade that terminates mid-installation may leave fmt files in an inconsistent state, as fmtutil depends on complete binary writes and index updates. When the upgrade process is interrupted, the filename database generated by texhash might not reflect newly installed classes or packages, potentiall