Basically updating ArchLinux is as easy as running
pacman -Syu. But blindly
pacman -Syu everyday is not necessarily a good idea. Sometimes
some updates require manual intervention, so you have to be aware of it
before you launch the update.
Level 1 - ArchLinux news website#
The basic solution is to check news on the ArchLinux homepage (https://www.archlinux.org/)
or to check the ArchLinux News page (https://www.archlinux.org/news/)
before each update.
But doing this manually is long and boring right?
Even using a RSS reader you have to check your RSS app.
Level 2 - Pacman wrappers#
One category of AUR helpers
are Pacman wrappers.
Some of pacman wrappers like pikaur
shows unread Arch news before sysupgrade, so when doing
pikaur -Syu you
will be able to read the latest news before upgrading.
But not all pacman wrappers have a news system like pikaur and I personally prefer to keep the use of pacman wrapper to a minimum. In my case I use pikaur only for installing and updating AUR packages and use pacman for ArchLinux repository packages.
After all the ArchLinux wiki warns you:
Warning: pacman(8) wrappers abstract the work of the package manager. They may (optionally or by default) introduce unsafe flags, or other unexpected behavior leading to a defective system.
Level 3 - Kalu#
Let's see what is Kalu:
kalu (which could stand for "Keeping Arch Linux Up-to-date") is a small application that will add an icon to your systray and sit there, regularly checking if there's anything new for you to upgrade. As soon as it finds something, it'll show a notification to let you know about it.
But Kalu not only tells you when there is new updates, it also notify you of unread ArchLinux news and AUR package updates. But we'll come back to it.
Some strong points:
- unprivileged (doesn't require root)
- partial upgrade free (it doesn't synchronize databases, it creates a temporary copy of your sync databases, sync those, and then remove them)
- designed to avoid dangerous situation
What does it check for?
- Arch Linux News
- Available upgrades for installed packages
- Available upgrades for non-installed packages (you can define a list of watched packages)
- Available upgrades for AUR packages
- Available upgrades for watched AUR packages (you can define a list of watched packages)
When does it check?
I kept the check every hour (default) frequency but you can choose any other and even define some paused period.
As here our goal is to be aware of ArchLinux News, the point that interest us the most is that Kalu will display notifications each time it does a check.
You can also click on the Kalu icon on the systray to make it do a manual check.
So it notify me when there is a new update and at the same time I know if there is a new ArchLinux news or not and so if I can safely make the update or not.
Here a example of notification for available updates (KDE/Plasma):
You have a similar notification for the unread news.
On the contextual menu
you can ask to display recent ArchLinux news.
So you will be able to re-read news even if you inadvertently checked the latest news as read.
Kalu does a lot more than just that but it's not the point here. To dig deeper check the official page.