/pacman-auto-update

Install a systemd service triggered by a timer to run automatic pacman package updates

Primary LanguageShellGNU General Public License v2.0GPL-2.0

Pacman Auto Update

Keeps packages from compiled repositories updated hourly.

Updates are automatically postponed under unfavorable conditions:

  • 🔋 The battery has less than 90% of charge.
  • 💸 networkmanager is installed, and the connection is guessed as metered.
  • 🔒 The package database has a lock younger than a day, and older than boot time. Otherwise the lock is automatically removed.

Installing

The package is avaliable in the Arch User Repository:

https://aur.archlinux.org/packages/pacman-auto-update

Inspecting status

Of the service:

systemctl status pacman-auto-update

Of the timer:

systemctl list-timers pacman-auto-update