A bash script for faster pacman updates. Pre-downloads up-datable packages.
This script was created to avoid the pitfalls of a "partial upgrade" (1) IE: (pacman -Syuw ) (2).
Does NOT perform unattended system update. Requires user to manually run updates (pacman -Syu).
The script copies pacman databases to /tmp, checks for system update availability, creates update list, downloads updates to /var/cache/pacman/pkg/ without installing anything. It then prints a report named 'current date' to ~/Desktop/prep4ud.dir/.
I've set up prep4ud to auto run daily via cron.
Screenshot prep4ud: https://cody-learner.github.io/prep4ud.html
Report prep4ud: https://cody-learner.github.io/prep4ud-report.html
UPDATE Feb 13, 2019: Eliminated separate package cache. Updated packages are downloaded to pacman package cache /var/cache/pacman/pkg/. Use pacman -Syu to update.
UPDATE Nov 16, 2018: Added a separate package cache to prevent potential issues between updates. Added "No updates available" capability.