edge-1's root (/dev/mmcblk0p2, 6.6 GB) had 197 MB free, with 1.7 GB of it taken by /var/cache/pacman/pkg (598 files). Pulling the Alloy image from #1578 failed with no space left on device.
The cache comes from the package upgrades, so os-update (plays/update-os.yml) now handles it on Arch:
pacman hook /etc/pacman.d/hooks/pacman-cache.hook: empties the package cache after every install, upgrade or remove.
The cache is emptied before the existing 1 GiB free-space check, and the mount facts are re-read after it.
Downgrades from the local cache are no longer possible; older packages come from the Arch Linux Archive.
edge-1's root (`/dev/mmcblk0p2`, 6.6 GB) had 197 MB free, with 1.7 GB of it taken by `/var/cache/pacman/pkg` (598 files). Pulling the Alloy image from #1578 failed with `no space left on device`.
The cache comes from the package upgrades, so `os-update` (`plays/update-os.yml`) now handles it on Arch:
- pacman hook `/etc/pacman.d/hooks/pacman-cache.hook`: empties the package cache after every install, upgrade or remove.
- The cache is emptied before the existing 1 GiB free-space check, and the mount facts are re-read after it.
Downgrades from the local cache are no longer possible; older packages come from the Arch Linux Archive.
Refs YouTrack S28-16.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
edge-1's 6.6 GB eMMC root had 1.7 GB of cached packages and 197 MB free,
so pulling the Alloy image failed with "no space left on device". A
pacman hook now empties the cache after every transaction, and the role
empties it on each run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The package cache is a disk-space concern of the package upgrades, not
flash wear; it moves to the os-update role.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pacman keeps every package an upgrade downloads. On edge-1's 6.6 GB eMMC
root that was 1.7 GB, leaving 197 MB free. The role now installs a pacman
hook that empties the cache after every transaction, and empties it
before the 1 GiB free-space check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude-bot
changed title from fix(edge-flash-wear): keep the pacman package cache empty to fix(os-update): keep the pacman package cache empty2026-11-06 11:58:44 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
edge-1's root (
/dev/mmcblk0p2, 6.6 GB) had 197 MB free, with 1.7 GB of it taken by/var/cache/pacman/pkg(598 files). Pulling the Alloy image from #1578 failed withno space left on device.The cache comes from the package upgrades, so
os-update(plays/update-os.yml) now handles it on Arch:/etc/pacman.d/hooks/pacman-cache.hook: empties the package cache after every install, upgrade or remove.Downgrades from the local cache are no longer possible; older packages come from the Arch Linux Archive.
Refs YouTrack S28-16.
🤖 Generated with Claude Code
fix(edge-flash-wear): keep the pacman package cache emptyto fix(os-update): keep the pacman package cache empty