Sudo apt update throws Warning: GPG error

DRIVE OS Version: 7.0.3.0-41012141

Issue Description:

when i

sudo apt update

Following Warning Occurred:

W: GPG error: https://packages.mozilla.org/apt mozilla InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/packages.mozilla.org_apt_dists_mozilla_InRelease
W: The repository 'https://packages.mozilla.org/apt mozilla InRelease' is not signed.
W: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
W: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://ports.ubuntu.com/ubuntu-ports noble InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_noble_InRelease
W: The repository 'https://ports.ubuntu.com/ubuntu-ports noble InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://ports.ubuntu.com/ubuntu-ports noble-updates InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_noble-updates_InRelease
W: The repository 'https://ports.ubuntu.com/ubuntu-ports noble-updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://ports.ubuntu.com/ubuntu-ports noble-security InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_noble-security_InRelease
W: The repository 'https://ports.ubuntu.com/ubuntu-ports noble-security InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Although it is just warning, not an error,

why the warning is occurred and how can i solve it?

1 Like

Dear @yhro3782 ,
You can ignore this warning and not a blocker for any package installation

Thanks For the reply!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.