我刚刚开始使用Ubuntu,所以请给我一个解释的答案。
我试图在我的Ubuntu16.10中安装macbuntu主题。我做了第一步
sudo add-apt-repository ppa:noobslab/macbuntu这一步效果很好。下一次我做的时候,
sudo apt-get update我得到了错误
W: The repository 'http://ppa.launchpad.net/docky-core/stable/ubuntu yakkety 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/docky-core/stable/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.这仅仅是导致错误的最后几行。
我该怎么解决这个问题?
编辑:这是sources.list.d目录的内容
docky-core-ubuntu-stable-yakkety.list
docky-core-ubuntu-stable-yakkety.list.save
noobslab-ubuntu-macbuntu-yakkety.list
noobslab-ubuntu-macbuntu-yakkety.list.save
webupd8team-ubuntu-java-yakkety.list
webupd8team-ubuntu-java-yakkety.list.save
webupd8team-ubuntu-sublime-text-3-yakkety.list
webupd8team-ubuntu-sublime-text-3-yakkety.list.savelsb_release -a command输出
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety发布于 2017-02-15 10:42:49
按照步骤
cd /etc/apt/sources.list.d/
sudo -H gedit noobslab-ubuntu-macbuntu-yakkety.list文件将打开,第一行如下所示
deb http://ppa.launchpad.net/noobslab/macbuntu/ubuntu yakkety main将yakkety替换为xenial,使这一行变为
deb http://ppa.launchpad.net/noobslab/macbuntu/ubuntu xenial main保存并退出文件,然后
sudo apt-get update现在尝试使用此mac theme安装回答
删除mac主题的
如果系统不支持安装mac主题,请使用以下方法卸载:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:noobslab/macbuntu
sudo apt-get updatesudo apt-add-repository remove ppa:noobslab/macbuntuhttps://askubuntu.com/questions/883539
复制相似问题