[Bug 2007402] Re: apt-get update error ubuntu22.04
dragonhahney
2007402 at bugs.launchpad.net
Thu Apr 13 01:36:08 UTC 2023
Sir,
My computer totally black out... Can't do anything... Need your help...
Retired guy.
On Wed, Apr 12, 2023, 8:30 AM Julian Andres Klode <
2007402 at bugs.launchpad.net> wrote:
> As #1 says, the file permissions for the keyring are wrong. They should
> be world-readable, or at the very least readable by _apt
>
> ** Changed in: apt (Ubuntu)
> Status: Confirmed => Invalid
>
> --
> You received this bug notification because you are subscribed to apt in
> Ubuntu.
> Matching subscriptions: dragonhahney
> https://bugs.launchpad.net/bugs/2007402
>
> Title:
> apt-get update error ubuntu22.04
>
> Status in apt package in Ubuntu:
> Invalid
>
> Bug description:
> I'm using ubuntu:22.04, but unfortunately we met a error when apt-get
> update.
>
> below is the error message:
>
> root at 7f7f478253a4:/# apt-get update
> Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
>
> Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110
> kB]
> Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
> The following signatures couldn't be verified because the public key
> is not available: NO_PUBKEY 871920D1991BC93C
> Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease
> The following signatures couldn't be verified because the public key
> is not available: NO_PUBKEY 871920D1991BC93C
> Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
> Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
> The following signatures couldn't be verified because the public key
> is not available: NO_PUBKEY 871920D1991BC93C
> Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [107
> kB]
> Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
> The following signatures couldn't be verified because the public key
> is not available: NO_PUBKEY 871920D1991BC93C
> Reading package lists... Done
> W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease:
> The key(s) in the keyring
> /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the
> file is not readable by user '_apt' executing apt-key.
> W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease:
> The key(s) in the keyring
> /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the
> file is not readable by user '_apt' executing apt-key.
> W: GPG error: http://security.ubuntu.com/ubuntu jammy-security
> InRelease: The following signatures couldn't be verified because the public
> key is not available: NO_PUBKEY 871920D1991BC93C
> E: The repository 'http://security.ubuntu.com/ubuntu jammy-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: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s)
> in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are
> ignored as the file is not readable by user '_apt' executing apt-key.
> W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s)
> in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are
> ignored as the file is not readable by user '_apt' executing apt-key.
> W: GPG error: http://archive.ubuntu.com/ubuntu jammy InRelease: The
> following signatures couldn't be verified because the public key is not
> available: NO_PUBKEY 871920D1991BC93C
> E: The repository 'http://archive.ubuntu.com/ubuntu jammy 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: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The
> key(s) in the keyring
> /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the
> file is not readable by user '_apt' executing apt-key.
> W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The
> key(s) in the keyring
> /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the
> file is not readable by user '_apt' executing apt-key.
> W: GPG error: http://archive.ubuntu.com/ubuntu jammy-updates InRelease:
> The following signatures couldn't be verified because the public key is not
> available: NO_PUBKEY 871920D1991BC93C
> E: The repository 'http://archive.ubuntu.com/ubuntu jammy-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: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease:
> The key(s) in the keyring
> /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the
> file is not readable by user '_apt' executing apt-key.
> W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease:
> The key(s) in the keyring
> /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the
> file is not readable by user '_apt' executing apt-key.
> W: GPG error: http://archive.ubuntu.com/ubuntu jammy-backports
> InRelease: The following signatures couldn't be verified because the public
> key is not available: NO_PUBKEY 871920D1991BC93C
> E: The repository 'http://archive.ubuntu.com/ubuntu jammy-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.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2007402/+subscriptions
>
>
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2007402
Title:
apt-get update error ubuntu22.04
Status in apt package in Ubuntu:
Invalid
Bug description:
I'm using ubuntu:22.04, but unfortunately we met a error when apt-get
update.
below is the error message:
root at 7f7f478253a4:/# apt-get update
Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB]
Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Reading package lists... Done
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://security.ubuntu.com/ubuntu jammy-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: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: http://archive.ubuntu.com/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://archive.ubuntu.com/ubuntu jammy 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: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: http://archive.ubuntu.com/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://archive.ubuntu.com/ubuntu jammy-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: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: http://archive.ubuntu.com/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://archive.ubuntu.com/ubuntu jammy-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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2007402/+subscriptions
More information about the foundations-bugs
mailing list