Ошибка (ошибки) при установке Studio Android с помощью umake

Я пытаюсь установить использование Studio Android umake с командой

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 64-разрядный LTS


ОБНОВЛЕНИЕ (после того, как 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.
6
задан 3 July 2017 в 04:47

1 ответ

Кажется, что у Вас есть отсутствие ключ GPG для необходимого пакета (пакетов).

Вы видите эту проблему потому что apt не может найти соответствие ключом GPG для необходимого пакета (пакетов) установленный в Вашей системе (возможно, ubuntu-make ppa, добавленный правильно, но ошибка, произошел при добавлении подписывающийся key¿?).

Как персональный совет, я рассмотрел бы всегда сначала использование каналов программного обеспечения по умолчанию и только добавил бы ppa, если существует какое-либо особое требование (требования), которое не касается программное обеспечение по умолчанию.

Добавление/получение ключа (ключей) GPG из keyserver.ubuntu.com

Можно проверить, существует ли тот определенный ключ GPG в keyserver.ubuntu.com и автоматически добавляет его к системе. Чтобы сделать это просто выполняет это на Вашем терминале:

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

Если ключ будет существовать, то он будет добавлен к Вашей системе, и Вы сможете установить ubuntu-make с 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), который, кроме того, можно удалить исходную запись, она также удаляет добавленные ключи и делает все другие коленопреклонения, как возвращающиеся пакеты к их эквиваленту на основном repos (если кто-либо был установлен).

Работайте это на Вашем терминале, чтобы удалить и произвести чистку человечности - делает использование ppa ppa-purge:

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

Подсказка: можно использовать автозавершение удара с Вкладкой для заполнения имени ppa.

Надежда это помогает.

2
ответ дан 23 November 2019 в 08:08

Другие вопросы по тегам:

Похожие вопросы: