从ubuntu 14.04升级到ubuntu 16.04包之后,apt返回404

时间:2017-03-09 16:45:06

标签: ubuntu ubuntu-14.04 ubuntu-16.04 apt

我用白痴搜索,但我找不到解决方案。

我将ubuntu 14.04升级到16.04并在

之后升级
sudo apt-get update

出现此错误:

Err http://ppa.launchpad.net trusty/main amd64 Packages                        
  404  Not Found
Err http://ppa.launchpad.net trusty/main i386 Packages                         
  404  Not Found
W: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

1 个答案:

答案 0 :(得分:0)

我通过删除ondrej重新安装的php和mysql中的所有内容来解决问题。

相关问题