Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3531

Raspberry Pi OS • Re: Update Notifier

$
0
0
FWIW, for anyone who has a lot of packages pinned and does not want to go the apt pin priorities route, I made my own update notifier 4 years ago.
See: https://github.com/Botspot/update-buddy
Image
It specifically rules out any packages that are being held, thanks to this line of code:

Code:

LIST="$(apt list --upgradable 2>/dev/null | cut -d/ -f 1 | tail -n +2 | grep -vx "$(dpkg --get-selections | grep "\<hold$" | tr -d ' \t' | sed 's/hold//g' | sed -z 's/\n/\\|/g' | sed -z 's/\\|$/\n/g')")"

Statistics: Posted by Botspot — Tue Sep 30, 2025 3:16 pm



Viewing all articles
Browse latest Browse all 3531

Trending Articles