当我尝试遵循如何安装 Ubuntu Touch Coreapps 的答案时?,它不适用于 Ubuntu 16.04。在我跑之后sudo apt update
,我得到了这个:
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/ubuntu-touch-coreapps-drivers/collection/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.
W: The repository 'http://ppa.launchpad.net/ubuntu-touch-coreapps-drivers/daily/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: Failed to fetch http://ppa.launchpad.net/ubuntu-touch-coreapps-drivers/collection/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/ubuntu-touch-coreapps-drivers/daily/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.
当我尝试安装时:
sudo apt-get install ubuntu-sdk touch-coreapps
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package touch-coreapps
有更新的方法来做到这一点吗?
您当前拥有的 PPA 没有 Ubuntu 16.04 的安装候选者,因此您收到 404 错误。从Reddit 中的这篇 r/Ubuntu帖子中,您可以在https://launchpad.net/~vthompson/+archive/ubuntu/ppa使用 PPA :