当我尝试回答如何安装 Ubuntu Touch 核心应用程序?,它在 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
有没有更新的方法来做到这一点?
答案1
你目前拥有的 PPA 没有适用于 Ubuntu 16.04 的安装候选项,因此你收到 404 错误。来自此 r/Ubuntu邮政在 Reddit 中,你可以使用 PPAhttps://launchpad.net/~vthompson/+archive/ubuntu/ppa:
sudo add-apt-repository ppa:vthompson/ppa
sudo apt update