Skip to content

chore(arch): yay-based cleanup alias + paccache cache maintenance#6

Merged
iagodahlem merged 1 commit into
masterfrom
iago/arch-cache-maintenance
Jun 19, 2026
Merged

chore(arch): yay-based cleanup alias + paccache cache maintenance#6
iagodahlem merged 1 commit into
masterfrom
iago/arch-cache-maintenance

Conversation

@iagodahlem

Copy link
Copy Markdown
Owner

Follow-up to #5 (delta migration) — Arch package-cache maintenance.

Changes

  1. cleanup alias — from sudo pacman -Scc (nuclear; wipes the whole package cache and kills offline rollback) to yay -Sc && yay -Yc (clean old/uninstalled cache + prune orphaned deps), mirroring the Ubuntu overlay's autoclean && autoremove.

  2. paccache — added pacman-contrib to packages/pacman.txt and enabled paccache.timer in os/arch.sh (idempotent, alongside the other services) so the weekly cache trim (keeps the last 3 versions) is reproducible on fresh machines. Already enabled manually on Hades.

  3. Docs — updated TOOLS.md.

- Change Arch cleanup alias from sudo pacman -Scc (nuclear) to
  yay -Sc && yay -Yc (clean cache + prune orphans), matching the
  Ubuntu overlay autoclean && autoremove semantics
- Add pacman-contrib to pacman.txt and enable paccache.timer in
  os/arch.sh so the weekly cache trim is reproducible on fresh machines
- Document both in TOOLS.md
@iagodahlem
iagodahlem merged commit fb9daff into master Jun 19, 2026
6 checks passed
@iagodahlem
iagodahlem deleted the iago/arch-cache-maintenance branch June 19, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant