Skip to content

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

License

Notifications You must be signed in to change notification settings

cmuench/pacman-auto-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacman Auto Update

Keeps all precompiled software packages updated, without user intervention.

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

In the application Terminal enter:

curl --silent https://raw.githubusercontent.com/cmuench/pacman-auto-update/master/install.sh | bash

After that the software will be automatically enabled, and also it will automatically build and upgrade its own package.

Having this program in the AUR is not possible right now, simply because its moderators disagree with having any kind of method for automatically upgrading the system.

Editing update frequency

By default it updates hourly.

Edit with:

sudo rnano /usr/lib/systemd/system/pacman-auto-update.timer

Inspecting status

Of the service:

systemctl status pacman-auto-update

Of the timer:

systemctl list-timers pacman-auto-update

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages