pub(crate) fn rollback_failed_install(
conn: &DbConnection,
name: &str,
install_dir: &Path,
)Expand description
Roll back the database and filesystem state after an install failure.
The package record is marked as failed and any staged, backup, or final install directories are removed so the next install attempt starts from a clean slate.