Erro (s) ao instalar o Android Studio usando umake

6

Estou tentando instalar o Android Studio usando umake com o comando

sudo umake android android-studio 

e obtenho os seguintes erros:

Downloading and installing requirements
| ERROR: W:GPG error: http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1BE1E8D7A2B5E9D5, W:The repository 'http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04  Release' is not signed., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:The repository 'http://ppa.launchpad.net/texlive-backports/ppa/ubuntu xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found, E:Some index files failed to download. They have been ignored, or old ones used instead.
    100% 
#########################################################################
| ERROR: Package requirements can't be met: W:GPG error: http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1BE1E8D7A2B5E9D5, W:The repository 'http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04  Release' is not signed., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:The repository 'http://ppa.launchpad.net/texlive-backports/ppa/ubuntu xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found, E:Some index files failed to download. They have been ignored, or old ones used instead.

Como posso resolver este problema? Pesquisando no Google não ajudou.

umake versão: 16.11.1 no Ubuntu 16.04.1 LTS de 64 bits

UPDATE (após a resposta do dgonzalez)

Eu segui sua resposta e agora o erro muda de uma chave ausente para uma chave expirada :

ERROR: W:The repository 'http://ppa.launchpad.net/texlive-backports/ppa/ubuntu xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04  Release: The following signatures were invalid: KEYEXPIRED 1445355426, W:The repository 'http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04  Release' is not signed., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found, E:Some index files failed to download. They have been ignored, or old ones used instead.
100% |#########################################################################|
ERROR: Package requirements can't be met: W:The repository 'http://ppa.launchpad.net/texlive-backports/ppa/ubuntu xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04  Release: The following signatures were invalid: KEYEXPIRED 1445355426, W:The repository 'http://download.opensuse.org/repositories/home:/olav-st/xUbuntu_16.04  Release' is not signed., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found, E:Some index files failed to download. They have been ignored, or old ones used instead.
    
por BlackBrain 01.02.2017 / 21:59

1 resposta

3

Parece que você tem uma chave GPG ausente para o (s) pacote (s) necessário (s).

Você está vendo este problema porque apt não pode encontrar uma chave GPG correspondente para o (s) pacote (s) necessário (s) instalado (s) no seu sistema (talvez ubuntu-make ppa foi adicionado corretamente, mas ocorreu um erro ao adicionar a chave de assinatura? ?) .

Como um conselho pessoal, eu consideraria sempre usar primeiro os canais de software padrão, e adicionar somente um ppa se houver qualquer requisito (s) especial (is) em que o software padrão não cobre.

Adicionando / recuperando chaves GPG de keyserver.ubuntu.com

Você pode verificar se essa chave GPG existe em keyserver.ubuntu.com e adicioná-la automaticamente ao seu sistema. Para fazer isso, basta executar isso no seu terminal:

sudo apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 1BE1E8D7A2B5E9D5

Se a chave existir, ela será adicionada ao seu sistema e você poderá instalar ubuntu-make com sudo apt install ubuntu-make .

Revertendo seu sistema (removendo o ppa)

Se nenhum pacote foi instalado / alterado, você pode simplesmente remover o arquivo ppa (repo) e a entrada de fontes apt, executando o seguinte comando no seu terminal:

sudo rm /etc/apt/sources.list.d/ubuntu-desktop-ubuntu-ubuntu-make-xenial.list*

No entanto, sempre sugiro usar melhor ppa-purge (você pode instalá-lo com sudo apt install ppa-purge ) , que além de remover a entrada de fontes, também remove as chaves adicionadas e faz tudo outras genuflections , como reverter pacotes para seus equivalentes nos repositórios principais (se algum deles foi instalado) .

Execute isto no seu terminal para remover e limpar o ubuntu-make ppa usando ppa-purge :

sudo ppa-purge ppa:ubuntu-desktop/ubuntu-make

Dica: Você pode usar autocompletar bash com o Tab para preencher o nome do ppa.

Espero que ajude.

    
por dgonzalez 02.02.2017 / 03:09