GPG error: http://security.ubuntu.com/ubuntu mantic-security InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_mantic-security_InRelease

Mario Marietto marietto2008 at gmail.com
Fri Jan 12 17:59:12 UTC 2024


Hello.

I've installed Ubuntu mantic from scratch using the repos below,but I've
got the error that you see on the title of this email. How can I fix it ?


/etc/apt/sources.list :


deb http://us.archive.ubuntu.com/ubuntu mantic main restricted

deb http://us.archive.ubuntu.com/ubuntu mantic-updates main restricted

deb http://us.archive.ubuntu.com/ubuntu mantic universe
deb http://us.archive.ubuntu.com/ubuntu mantic-updates universe

deb http://us.archive.ubuntu.com/ubuntu mantic multiverse
deb http://us.archive.ubuntu.com/ubuntu mantic-updates multiverse

deb http://us.archive.ubuntu.com/ubuntu mantic-backports main restricted
universe multiverse
deb http://security.ubuntu.com/ubuntu mantic-security main restricted
deb http://security.ubuntu.com/ubuntu mantic-security universe
deb http://security.ubuntu.com/ubuntu mantic-security multiverse

=

mario at marietto:/etc/apt# apt update

Get:1 http://security.ubuntu.com/ubuntu mantic-security InRelease [109 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu mantic InRelease [256 kB]
Err:1 http://security.ubuntu.com/ubuntu mantic-security InRelease
Couldn't execute /usr/bin/apt-key to check
/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_mantic-security_InRelease

Err:2 http://us.archive.ubuntu.com/ubuntu mantic InRelease
Couldn't execute /usr/bin/apt-key to check
/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_mantic_InRelease

Get:3 http://us.archive.ubuntu.com/ubuntu mantic-updates InRelease [109 kB]
Err:3 http://us.archive.ubuntu.com/ubuntu mantic-updates InRelease
Couldn't execute /usr/bin/apt-key to check
/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_mantic-updates_InRelease

Get:4 http://us.archive.ubuntu.com/ubuntu mantic-backports InRelease [90.8
kB]
Err:4 http://us.archive.ubuntu.com/ubuntu mantic-backports InRelease
Couldn't execute /usr/bin/apt-key to check
/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_mantic-backports_InRelease

Reading package lists... Done

W: GPG error: http://security.ubuntu.com/ubuntu mantic-security InRelease:
Couldn't execute /usr/bin/apt-key to check
/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_mantic-security_InRelease


E: The repository 'http://security.ubuntu.com/ubuntu mantic-security
InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.

W: GPG error: http://us.archive.ubuntu.com/ubuntu mantic InRelease:
Couldn't execute /usr/bin/apt-key to check
/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_mantic_InRelease


E: The repository 'http://us.archive.ubuntu.com/ubuntu mantic InRelease' is
not signed.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.

W: GPG error: http://us.archive.ubuntu.com/ubuntu mantic-updates InRelease:
Couldn't execute /usr/bin/apt-key to check
/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_mantic-updates_InRelease


E: The repository 'http://us.archive.ubuntu.com/ubuntu mantic-updates
InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.

W: GPG error: http://us.archive.ubuntu.com/ubuntu mantic-backports
InRelease: Couldn't execute /usr/bin/apt-key to check
/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_mantic-backports_InRelease


E: The repository 'http://us.archive.ubuntu.com/ubuntu mantic-backports
InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.

Thanks.

-- 
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20240112/8fe09b5d/attachment.html>


More information about the ubuntu-users mailing list