Falha ao baixar ppa

Iniciado por kinho47, 01 de Outubro de 2017, 09:28

tópico anterior - próximo tópico

kinho47

quando rodo o sudo

Citarapt-get update

acontece o seguinte
kinho@Ubuntu-kinho:~$ sudo apt-get update
[sudo] senha para kinho:
Obter:1 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial InRelease [17,6 kB]
Obter:2 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]             
Obter:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]     
Obter:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Obter:5 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Obter:6 http://archive.canonical.com/ubuntu xenial InRelease [11,5 kB]
Ign:7 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ InRelease
Obter:8 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release [983 B]
Obter:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [634 kB]
Obter:11 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [606 kB]
Obter:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [305 kB]
Obter:13 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [213 kB]
Obter:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [539 kB]
Obter:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [514 kB]
Obter:16 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [172 kB]
Obter:17 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [234 kB]
Obter:18 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5.892 B]
Obter:19 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3.324 B]
Obter:20 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [4.588 B]
Obter:21 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [60,2 kB]
Obter:22 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [54,2 kB]
Obter:23 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [49,2 kB]
Obter:24 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [69,8 kB]
Ign:1 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial InRelease
Obter:25 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial Release [17,2 kB]
Ign:25 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial Release
Ign:28 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main all Packages
Ign:29 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt_BR
Ign:30 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt
Ign:32 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:33 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main DEP-11 64x64 Icons
Obter:26 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 Packages [724 B]
Ign:26 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 Packages
Obter:27 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main i386 Packages [724 B]
Ign:27 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main i386 Packages
Ign:28 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main all Packages
Ign:29 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt_BR
Ign:30 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt
Obter:31 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-en [508 B]
Ign:31 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-en
Ign:32 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:33 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main DEP-11 64x64 Icons
Ign:26 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 Packages
Ign:27 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main i386 Packages
Ign:28 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main all Packages
Ign:29 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt_BR
Ign:30 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt
Ign:31 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-en
Ign:32 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:33 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main DEP-11 64x64 Icons
Ign:26 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 Packages
Ign:27 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main i386 Packages
Ign:28 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main all Packages
Ign:29 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt_BR
Ign:30 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt
Ign:31 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-en
Ign:32 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:33 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main DEP-11 64x64 Icons
Ign:28 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main all Packages
Ign:29 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt_BR
Ign:30 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt
Ign:32 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:33 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main DEP-11 64x64 Icons
Obter:26 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 Packages [651 B]
Ign:26 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 Packages
Obter:27 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main i386 Packages [651 B]
Ign:27 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main i386 Packages
Ign:28 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main all Packages
Ign:29 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt_BR
Ign:30 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-pt
Obter:31 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-en [424 B]
Ign:31 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-en
Ign:32 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:33 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main DEP-11 64x64 Icons
Ign:26 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 Packages
Ign:27 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main i386 Packages
Ign:31 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-en
Err:26 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 Packages
  Conexão expirou
Ign:27 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main i386 Packages
Ign:31 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main Translation-en
Baixados 566 kB em 16min 30s (571 B/s)
Lendo listas de pacotes... Pronto
W: The repository 'http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Falhou ao buscar http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu/dists/xenial/main/binary-amd64/Packages  Conexão expirou
E: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar.

luiscarlos

Reinicie o sistema e tente:

sudo apt-get install -f

depois;

sudo dpkg --configure -a

Seu sistema é 32 ou 64 bits? Dá uma revisada nos repositórios, se foi adicionado algum PPA desmarque-os...

kinho47

64 bits, sim tem uns ppa marcados, estou querendo baixar o android studio, porem todos que vejo ensina via ubuntu make, mais nao consigo baixo por que tem que add um ppa, e a maioria dos ppa que tento n baixa

druidaobelix

#3
Citação de: kinho47 online 01 de Outubro de 2017, 13:26
64 bits, sim tem uns ppa marcados, estou querendo baixar o android studio, [...]

Se o objetivo é obter o Android-Studio, primeiramente limpe os problemas atuais, especialmente desinstale a ppa que está apresentando erro.

Se o caso instale o ppa-purge

sudo apt-get install ppa-purge

Se quiser obter diretamente o comando para desinstalação de uma ppa é fazer:


find /etc/apt/sources.list.d -type f -name "*.list" -print0 | \
    while read -d $'\0' file; do awk -F/ '/deb / && /ppa\.launchpad\.net/ {print "sudo ppa-purge ppa:"$4"/"$5}' "$file"; done


Obviamente não tente digitar um comando desse em razão da enorme chance de erro de retranscrição, então copie com o mouse e cole no terminal, seja usando o mouse ou ainda Ctrl Shift V

Vai resultar numa saída pronta para executar.

É só copiar, colar no terminal e <enter> nela.


Em seguida atualize o sistema fazendo:

sudo apt update

sudo apt upgrade

Os dois comandos acima devem terminar sem erros de quaisquer espécie.

Feita a limpeza da área, agora instale o Android-Studio fazendo:

sudo apt-get -o Dpkg::Options::="--force-overwrite" install openjdk-9-jdk

sudo add-apt-repository ppa:maarten-fonville/android-studio

sudo apt-get update

sudo apt-get install android-studio

Precisa de bastante espaço em disco, reserve aí pelo menos uns 5GB para o Android-Studio.

Uma vez instalado vai obter algo assim:












www.arredondar.org.br
Vencedor Desafio de Impacto Social Google 2016!
Você também pode participar e fazer a diferença.