pub fn mark_failed(conn: &DbConnection, name: &str) -> Result<()>Expand description
Mark a package as failed.
The outer install flow uses this during rollback to preserve the failure state in the local database after partial installation has been cleaned up.