If a warning like in the title appears while updating apt, you can recheck public keys and renew them if necessary with the code below;
[pastacode lang=”bash” manual=”sudo%20apt-get%20update%202%3E%261%20%7C%0Ased%20-ne%20’s%3F%5E.*NO_PUBKEY%20%3F%3Fp’%20%7C%0Axargs%20-r%20–%20sudo%20apt-key%20adv%20–keyserver%20keyserver.ubuntu.com%20–recv-keys” message=”” highlight=”” provider=”manual”/]