【问题标题】:error while running apt-get update probably incorrect release file causing apt-get update to fail运行 apt-get update 时出错 可能不正确的发布文件导致 apt-get update 失败
【发布时间】:2015-07-08 15:20:07
【问题描述】:

我一直在使用基于 Ubuntu 14.04

构建的 elementary OS 0.3 Freya(64 位)

当我尝试打开软件更新程序时,它显示无法下载存储库信息 当我尝试运行时

sudo apt-get update

这是打印出来的:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release  Unable to find expected entry 'restricted/source/Sources' in Release file (Wrong sources.list entry or malformed file)

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

我不知道是什么问题,我在谷歌上搜索时找不到解决方案。

【问题讨论】:

    标签: repository apt-get software-update


    【解决方案1】:

    根据我所读到的有关该问题的信息,其中一个存储库失败了。也许尝试一次删除它们,看看是否能找到有问题的。

    编辑 ppa 并将 freya 更改为 trusty。不确定这是否是理想的解决方案,但它可以解决它。

    【讨论】:

    【解决方案2】:

    我从下载列表中删除了 Chrome 下载/更新,并将第 1 列中的 Ubuntu 软件设置更改为从主服务器下载。它以这种方式进行下载和更新。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-07-12
      • 1970-01-01
      • 1970-01-01
      • 2016-07-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多