Autor Tópico: dificuldade em instalar qualquer coisa, especificamente java - ubuntu 20.04  (Lida 5014 vezes)

Offline lolobarrosmtt

  • Usuário Ubuntu
  • *
  • Mensagens: 1
    • Ver perfil
Todos os comandos que coloco aparece um erro, o do java a mesma coisa

lorena@lorena-VivoBook-15-ASUS-Laptop-X540MA-X540MA:~$ sudo add-apt-repository ppa:webupd8team/java
[sudo] senha para lorena:
Repositório: 'deb jammy main'
The Oracle JDK License has changed for releases starting April 16, 2019.

The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available here:

Oracle Java downloads now require logging in to an Oracle account to download Java updates, like the latest Oracle Java 8u211 / Java SE 8u212. Because of this I cannot update the PPA with the latest Java (and the old links were broken by Oracle).



For Oracle Java 17, see a different PPA ->

Old description:

Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK8). There are no actual Java files in this PPA.

Important -> Why Oracle Java 7 And 6 Installers No Longer Work:

Update: Oracle Java 9 has reached end of life:

The PPA supports Ubuntu 18.10, 18.04, 16.04, 14.04 and 12.04.

More info (and Ubuntu installation instructions):

Debian installation instructions:
- Oracle Java 8:
Mais informação:
Adicionando repositório.
Pressione [ENTER] para continuar ou Ctrl-c para cancelar.
Adding deb entry to /etc/apt/sources.list.d/webupd8team-ubuntu-java-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/webupd8team-ubuntu-java-jammy.list
Adding key to /etc/apt/trusted.gpg.d/webupd8team-ubuntu-java.gpg with fingerprint 7B2C3B0889BF5709A105D03AC2518248EEA14886
Ign:1 cdrom://Ubuntu 22.04.1 LTS _Jammy Jellyfish_ - Release amd64 (20220809.1) jammy InRelease
Err:2 cdrom://Ubuntu 22.04.1 LTS _Jammy Jellyfish_ - Release amd64 (20220809.1) jammy Release
  Por favor, use o apt-cdrom para fazer com que este CD-ROM seja reconhecido pelo APT. O apt-get update não pode ser usado para adicionar novos CD-ROMs
Atingido:3 stable InRelease               
Atingido:4 jammy InRelease                 
Obter:5 jammy-security InRelease [110 kB]   
Obter:6 jammy-updates InRelease [114 kB]   
Ign:7 jammy InRelease
Obter:8 jammy-backports InRelease [99,8 kB]
Obter:9 jammy-security/main amd64 DEP-11 Metadata [20,0 kB]
Atingido:10 jammy InRelease
Obter:11 jammy-proposed InRelease [270 kB]
Obter:12 jammy-security/universe amd64 DEP-11 Metadata [13,2 kB]
Obter:13 jammy-updates/main amd64 DEP-11 Metadata [94,9 kB]
Obter:14 jammy-updates/universe amd64 DEP-11 Metadata [257 kB]
Obter:15 jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Obter:16 jammy-backports/universe amd64 DEP-11 Metadata [11,7 kB]
Obter:17 jammy InRelease [17,5 kB]
Err:17 jammy InRelease
  As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY F9C79330C476DD6B
Obter:18 jammy-proposed/universe amd64 DEP-11 Metadata [11,4 kB]
Obter:19 jammy-proposed/main amd64 DEP-11 Metadata [53,7 kB]
Ign:20 jammy InRelease
Err:21 jammy Release
  404  Not Found [IP: 2620:2d:4000:1::3e 443]
Err:22 jammy Release 
  404  Not Found [IP: 2620:2d:4000:1::3e 443]
^CTraceback (most recent call last):                                           
  File "/usr/bin/add-apt-repository", line 364, in <module>
    sys.exit(0 if addaptrepo.main() else 1)
  File "/usr/bin/add-apt-repository", line 359, in main
  File "/usr/bin/add-apt-repository", line 124, in apt_update['apt-get', 'update'])
  File "/usr/lib/python3.10/", line 503, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/usr/lib/python3.10/", line 1144, in communicate
  File "/usr/lib/python3.10/", line 1207, in wait
    return self._wait(timeout=timeout)
  File "/usr/lib/python3.10/", line 1941, in _wait
    (pid, sts) = self._try_wait(0)
  File "/usr/lib/python3.10/", line 1899, in _try_wait
    (pid, sts) = os.waitpid(, wait_flags)