@mo
cat /usr/share/libalpm/hooks/pacman-cache-cleanup.hook
[Trigger]
Type = Package
Operation = Remove
Operation = Install
Operation = Upgrade
Target = *
[Action]
Description = Removing obsolete cached package files (keeping the latest two)...
When = PostTransaction
Exec = /usr/bin/paccache -rvk2
cat /usr/share/libalpm/hooks/pacman-cache-cleanup.hook
[Trigger]
Type = Package
Operation = Remove
Operation = Install
Operation = Upgrade
Target = *
[Action]
Description = Removing obsolete cached package files (keeping the latest two)...
When = PostTransaction
Exec = /usr/bin/paccache -rvk2
@cheesus_crust но это тогда вообще без кеша получается...вот если бы можно было как то запускать хуки именно при нехватке места.. :blobcatthink: