pub fn update_package_reason( manifest: &InstallManifest, new_reason: InstallReason, ) -> Result<(), Error>