Proxmox 9 quietly stopped updating
About two weeks after upgrading my homelab to Proxmox VE 9, a health check turned up 54 updates waiting, including a new kernel. I hadn't been told about any of them.
The host's log had the reason, once a day:
pveupdate: command 'apt-get update' failed: exit code 100
And running it by hand showed why:
Err:6 https://enterprise.proxmox.com/debian/pve trixie InRelease
401 Unauthorized
E: The repository 'https://enterprise.proxmox.com/debian/pve trixie InRelease' is not signed.
What happened
Proxmox has two package sources: the paid enterprise source, which needs a subscription, and the free no-subscription source. My host had both. The enterprise one answers 401 without a subscription, and that one failure makes the whole apt-get update exit with an error.
The other sources still refreshed, so apt list --upgradable would have shown the updates. But Proxmox's own daily update check is what tells you there's something to install, and it was failing quietly, so I never heard about them.
The fix
Proxmox 9 uses Debian's newer .sources format, where each source can be switched off without deleting it. I added one line to /etc/apt/sources.list.d/pve-enterprise.sources:
Types: deb
URIs: https://enterprise.proxmox.com/debian/pve
Suites: trixie
Components: pve-enterprise
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
Enabled: no
Then confirmed:
apt-get update # no Err/E: lines, exit 0
apt list --upgradable
Keep the pve-no-subscription source (in proxmox.sources on my host) enabled. That's the one you actually get updates from.
Lesson
After a major upgrade, run apt-get update by hand once and read the output. A failing update check doesn't announce itself; it just stops telling you things.