You are not logged in.

#1 2024-05-05 12:21:59

Epp
Member
Registered: 2022-07-11
Posts: 100

[SOLVED] Possible to get an alert when update specific package?

Hi,

Is it possible to get an alert if an update becomes available through pacman -Syu for one specific package?

Could be that it's not an option preventing some people to do partial upgrades.

For me I just want to get some more control on my workflow.

More concrete, update when I also have the time to keep an eye on the log file after the upgrade.

An email would be perfect.
Less perfect but also better is a warning like:
"Package thisone is going to be updated, do you want to proceed?"

Last edited by Epp (2024-05-05 12:41:42)

Offline

#2 2024-05-05 12:25:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [SOLVED] Possible to get an alert when update specific package?

The "less perfect" solution could be readily achieved by grepping the output of checkupdates.

If you can send mail from a script, this also covers the "perfect" solution if you just run it periodically, e.g., with a daily systemd-timer.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-05-05 12:41:18

Epp
Member
Registered: 2022-07-11
Posts: 100

Re: [SOLVED] Possible to get an alert when update specific package?

ok, super. Perhaps not a coincidence is that's about an email server.
From there I can schedule email with cron
Hopefully with a test for only sending when package name in grep output.

Thanks for the help!

Offline

Board footer

Powered by FluxBB