diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-08 10:53:32 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-08 10:53:32 -0500 |
| commit | 999cd5995a0794dd61982aaaf989eaf7d345f926 (patch) | |
| tree | d132a3749ebe57ee154af878c40ce792c93af1c1 /docs/design | |
| parent | 04e35e02289b632355821f756f0c332268743a23 (diff) | |
| download | archsetup-999cd5995a0794dd61982aaaf989eaf7d345f926.tar.gz archsetup-999cd5995a0794dd61982aaaf989eaf7d345f926.zip | |
fix(install): mark pacman packages explicit after --needed install
pacman --needed skips a package that is already on the system as a dependency and leaves its install reason alone. A declared package can then sit as asdeps, surface as an orphan once its accidental dependent leaves, and get swept away by an orphan cleanup. expac and lm_sensors, both maintenance-console runtime deps, nearly went this way: they were asdeps on both hosts and only survived today's orphan sweep because something still depended on them.
pacman_install now marks the package explicit after a successful install. The mark never runs on a failed install, and a mark failure never fails the install. I flipped expac and lm_sensors to explicit on ratio and velox by hand since the installer only runs on fresh systems.
Diffstat (limited to 'docs/design')
0 files changed, 0 insertions, 0 deletions
