Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Instalação do jdk no ubuntu comando

ola, estou temtando instalar o jdk pelo comando, quando digito; $ sudo apt update

$ sudo apt update
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://download.sublimetext.com apt/stable/ InRelease        
Get:3 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]    
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Hit:6 https://ppa.launchpadcontent.net/openjdk-r/ppa/ubuntu jammy InRelease
Hit:5 https://packagecloud.io/AtomEditor/atom/any any InRelease     
Err:3 http://archive.ubuntu.com/ubuntu bionic InRelease             
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease   
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
Err:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
Hit:8 https://ppa.launchpadcontent.net/peek-developers/stable/ubuntu jammy InRelease
Ign:9 https://ppa.launchpadcontent.net/webupd8team/java/ubuntu jammy InRelease
Err:10 https://ppa.launchpadcontent.net/webupd8team/java/ubuntu jammy Release
  404  Not Found [IP: 2620:2d:4000:1::3e 443]
Reading package lists... Done                                  
W: https://packagecloud.io/AtomEditor/atom/any/dists/any/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: GPG error: http://archive.ubuntu.com/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://archive.ubuntu.com/ubuntu bionic 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://security.ubuntu.com/ubuntu bionic-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://security.ubuntu.com/ubuntu bionic-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://archive.ubuntu.com/ubuntu bionic-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-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.
E: The repository 'https://ppa.launchpadcontent.net/webupd8team/java/ubuntu jammy Release' does not have a Release file.
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.

da esse erro e não concigo instalar. minha internet está funcionando normalmente.

estou seguindo o passo a passo dessa pagina https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-20-04-pt

obs; já tentei por diversos outros sites e da sempre o mesmo erro, por favor, me ajude, estou a três dias tentando instalar o jdk.

1 resposta
solução!

Resolvido !!!

adicionei o codigo mostrado no link e funcionou!

https://chrisjean.com/fix-apt-get-update-the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-available/

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software