[Stable Update] 2023-07-10 - Kernels, Plasma, Gnome, LibreOffice, Pipewire, Mozilla, Wine

Nope. That’s how I understood it, and my point remains the same.

Sadly, I have none. At the moment I still wing it when it’s time for a merge. Sometimes I find it easier than others. If someone can give me advice here that’s be awesome!

But there is this pacman hook that lets you know if there are .pacnew files to merge:

/etc/pacman.d/hooks/pacnew-notifier.hook:

[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *

[Action]
Description = Checking for .pacnew and .pacsave files...
When = PostTransaction
Exec = /usr/bin/bash -c 'pacfiles=$(pacdiff -o); if [[ -n "$pacfiles" ]]; then echo -e "\e[1m.pac* files found:\e[0m\n$pacfiles\n\e[1mPlease check and merge\e[0m"; fi'

This let’s you know, in the terminal where you run the update, that there are .pacnew and/or .pacsave files that need handling.


Shameless plug:

I made a little script that does all this for you. It’s still not even close to perfect and thus still very much a W.I.P., but you can find it here:

1 Like