Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: don't allow xbps self-update to bypass integrity checks
In the past, self-updates mandated that only xbps and its dependencies can be updated if an xbps update is avaliable. As updating dependencies may break their depndents, xbps used XBPS_FLAG_FORCE_REMOVE_REVDEPS in order to bypass integrety checks when using xbps-install -u xbps. This can result in circumstances where the the system is rendered inoperable due to missing or mismatched dependencies of core system packages (e.g. PAM). As such, remove XBPS_FLAG_FORCE_REMOVE_REVDEPS when doing xbps-install -u xbps and allow full system upgrades when an xbps update is avaliable.
- Loading branch information