Autor Tópico: dificuldade em instalar qualquer coisa, especificamente java - ubuntu 20.04  (Lida 5202 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 https://ppa.launchpadcontent.net/webupd8team/java/ubuntu/ jammy main'
Descrição:
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: https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html

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 this reason, THIS PPA IS DISCONTINUED.

UPDATE:

For Oracle Java 17, see a different PPA -> https://www.linuxuprising.com/2021/09/how-to-install-oracle-java-17-lts-on.html

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: http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html

Update: Oracle Java 9 has reached end of life: http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html

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

More info (and Ubuntu installation instructions):
- http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html

Debian installation instructions:
- Oracle Java 8: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
Mais informação: https://launchpad.net/~webupd8team/+archive/ubuntu/java
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 https://repo.steampowered.com/steam stable InRelease               
Atingido:4 http://br.archive.ubuntu.com/ubuntu jammy InRelease                 
Obter:5 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]   
Obter:6 http://br.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]   
Ign:7 https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu jammy InRelease
Obter:8 http://br.archive.ubuntu.com/ubuntu jammy-backports InRelease [99,8 kB]
Obter:9 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [20,0 kB]
Atingido:10 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
Obter:11 http://br.archive.ubuntu.com/ubuntu jammy-proposed InRelease [270 kB]
Obter:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [13,2 kB]
Obter:13 http://br.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [94,9 kB]
Obter:14 http://br.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [257 kB]
Obter:15 http://br.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Obter:16 http://br.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [11,7 kB]
Obter:17 https://ppa.launchpadcontent.net/netext/netext73/ubuntu jammy InRelease [17,5 kB]
Err:17 https://ppa.launchpadcontent.net/netext/netext73/ubuntu 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 http://br.archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 DEP-11 Metadata [11,4 kB]
Obter:19 http://br.archive.ubuntu.com/ubuntu jammy-proposed/main amd64 DEP-11 Metadata [53,7 kB]
Ign:20 https://ppa.launchpadcontent.net/webupd8team/java/ubuntu jammy InRelease
Err:21 https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu jammy Release
  404  Not Found [IP: 2620:2d:4000:1::3e 443]
Err:22 https://ppa.launchpadcontent.net/webupd8team/java/ubuntu 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
    self.apt_update()
  File "/usr/bin/add-apt-repository", line 124, in apt_update
    subprocess.run(['apt-get', 'update'])
  File "/usr/lib/python3.10/subprocess.py", line 503, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/usr/lib/python3.10/subprocess.py", line 1144, in communicate
    self.wait()
  File "/usr/lib/python3.10/subprocess.py", line 1207, in wait
    return self._wait(timeout=timeout)
  File "/usr/lib/python3.10/subprocess.py", line 1941, in _wait
    (pid, sts) = self._try_wait(0)
  File "/usr/lib/python3.10/subprocess.py", line 1899, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
KeyboardInterrupt