Query apt -get update (typo variant) and apt-get update — fast triage before patching. Full: apt-get update errors, Ubuntu apt guide.
Read the error
401 → wrong repo; NO_PUBKEY → key; 404 → bad mirror.
bashupdate
sudo apt update 2>&1 | tail -20

Proxmox 401
Disable enterprise, enable no-subscription.

Missing GPG key
Import key or use signed-by keyring method.
bashkey
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KEYID

Upgrade next
After clean apt update, review apt upgrade.
bashupgrade
sudo apt list --upgradable | head

Quick Reference
Related tutorials
Diagrams are original illustrations by Gnome IT Solutions. Tutorial text © Gnome IT Solutions.