使用umake安装Android Studio时出错

我正在尝试使用umake使用该命令安装Android Studio

 sudo umake android android-studio 

我收到以下错误:

 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. 

我该如何解决这个问题? 在Google上搜索没有帮助。


umake版本: 16.11.1在Ubuntu 16.04.1 LTS 64位上


更新(在dgonzalez回答之后)

我按照你的回答,现在错误从一个丢失的密钥变为一个过期的密钥

 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. 

似乎您缺少所需包的GPG密钥。

您正在看到此问题,因为apt无法为您系统上安装的所需软件包找到匹配的GPG密钥(可能正确添加了ubuntu-make ppa,但添加签名密钥时出错了?)

作为个人建议,我会考虑始终首先使用默认软件频道,如果有任何特殊要求(默认软件未涵盖 ,则仅添加ppa

keyserver.ubuntu.com添加/检索GPG 密钥

您可以检查keyserver.ubuntu.com中是否存在某个GPG密钥,并自动将其添加到您的系统中。 要做到这一点,只需在终端上运行:

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

如果密钥存在,它将被添加到您的系统中,您将能够使用sudo apt install ubuntu-make

恢复您的系统(删除ppa)

如果没有安装/更改软件包,您只需从终端上删除ppa (repo)文件和条目,在终端上运行以下命令:

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

但是我总是建议最好使用ppa-purge (你可以用sudo apt install ppa-purge安装它) ,除了删除sources条目之外,它还删除了添加的键并执行所有其他genuflections ,例如将包恢复到它们相当于主要的回购(如果有的话)

在您的终端上运行此命令以使用ppa-purge删除并清除ubuntu-make ppa

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

提示:您可以使用Tab的 bash自动完成来填充ppa名称。

希望能帮助到你。