【问题标题】:After upgrading from ubuntu 14.04 to ubuntu 16.04 packages in apt return a 404在 apt 中从 ubuntu 14.04 升级到 ubuntu 16.04 包后返回 404
【发布时间】:2017-03-09 16:45:06
【问题描述】:

我像个白痴一样用谷歌搜索,但我没有找到解决方案。

我将 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.

【问题讨论】:

  • 此类问题请发到askubuntu.com,这是stackexchange网络的另一个站点。
  • 好吧对不起:|我认为此页面适用于所有开发内容。明白了。

标签: ubuntu ubuntu-14.04 ubuntu-16.04 apt


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-01-13
    • 2018-01-27
    • 1970-01-01
    • 2018-04-10
    • 2019-01-02
    • 1970-01-01
    • 1970-01-01
    • 2016-07-27
    相关资源
    最近更新 更多