Repository navigation
Replies: 2 comments 2 replies
|
Update 03.02.2026: Updated Script: The script was updated to also detect the new hard-fail APT policy errors (e.g. SHA1 rejection / sqv errors), as the previous grep only matched the pre-deadline warning and no longer triggered. |
0 replies
|
What can we run within the LXC? I have a single LXC that needs this update so would rather avoid running anything on the host. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This script runs on a Proxmox host and iterates over all running LXC containers.
For each container, it checks whether a NodeSource node_2x.x APT repository is configured and whether apt update --audit reports a GPG policy warning.
If the warning is detected, the script refreshes the NodeSource GPG key inside the container and reruns apt update to clear the issue.
Fixes:
Warning: https://deb.nodesource.com/node_24.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
Links:
nodesource/distributions#1865
#7332
Enter following:
bash /opt/fix_nodejs_gpg.sh && rm -f /opt/fix_nodejs_gpg.shExample Output:
All reactions