Update Ubuntu causing error

Hey guys,

Can you please help me with this error after performing sudo apt update:

sudo apt update

Hit:7 
 jammy-updates InRelease
Hit:8 
 jammy-backports InRelease
Err:3 
 jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2FD21310B49F6B46
E: Repository '
 jammy InRelease' changed its 'Label' value from '***** The main PPA for supported PHP versions with many PECL extensions *****' to 'PPA for PHP'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Get:9 
 jammy/main arm64 Packages [192 kB]
Get:10 
 jammy/main Translation-en [46.5 kB]
Fetched 263 kB in 3min 49s (1151 B/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: 
 jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2FD21310B49F6B46
E: Failed to fetch http://ppa.launchpad.net/ondrej/apache2/ubuntu/dists/jammy/InRelease
W: Failed to fetch https://nginx.org/packages/mainline/ubuntu/dists/jammy/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2FD21310B49F6B46
W: Some index files failed to download. They have been ignored, or old ones used insteadd.

Thank you in advance!

Show the output of these commands:

ls -la /etc/apt/sources.list.d/
cat /etc/apt/sources.list.d/apache2.list
cat /etc/apt/sources.list.d/php.list
cat /etc/apt/sources.list.d/nginx.list

Hey there,

I updated the ubuntu system successfully. Here’s what I did to fix the both issues:

Apache repository meta issue:
sudo apt update --allow-releaseinfo-change

Nginx GPG key issue - I updated the key via the following command:

curl -fsSL https://nginx.org/keys/nginx_signing.key
| gpg --dearmor
| sudo tee /usr/share/keyrings/nginx-keyring.gpg >/dev/null

I hope this could help for someone else that experiencing the same issue/ issues.