APT-get 无法解析或打开软件包的列表或是状态文件

编译打包和其他
回复
头像
Cherrot
帖子: 981
注册时间: 2011-04-03 10:01
系统: Ubuntu 12.XX
来自: 帝都
联系:

APT-get 无法解析或打开软件包的列表或是状态文件

#1

帖子 Cherrot » 2011-07-02 12:22

运行 sudo apt-get update 最后出现了错误,以下是最后几行的log:
获取:12 http://dl.google.com stable Release [1,338 B]
获取:13 http://dl.google.com stable/main i386 Packages [464 B]
忽略 http://dl.google.com stable/main TranslationIndex
忽略 http://dl.google.com stable/main Translation-zh_CN
忽略 http://dl.google.com stable/main Translation-zh
忽略 http://dl.google.com stable/main Translation-en
下载 53.5 kB,耗时 48秒 (1,108 B/s)
正在读取软件包列表... 有错误!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ubuntu.dormforce.net_ubuntu_dists_natty_main_binary-i386_Packages
E: 无法解析或打开软件包的列表或是状态文件。

运行新立德也是一样的问题:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-i386_Packages
E: 无法解析或打开软件包列表或状态文件。
E: _cache->open() failed, please report.

提示我可能是软件包依赖有问题,自从上次关机到这次开机只安装过Flash player plugin installer。
Ubuntu技巧汇总http://wiki.ubuntu.org.cn/UbuntuSkills --你遇到的各种问题可能已经在里面了
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.
头像
Steve Jobs
帖子: 824
注册时间: 2011-04-28 12:27

Re: APT-get 无法解析或打开软件包的列表或是状态文件

#2

帖子 Steve Jobs » 2011-07-02 12:25

代码: 全选

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update 
这个问题很普遍的,右上角一下就有答案了
你把爱情给了誰 不管我憔悴
哭红眼睛挽不回 心一点点碎
你把爱情给了誰 不再给我安慰
为你伤悲为你醉 爱已不完美

代码: 全选

不喜欢我的人可以把我加入黑名单,谢谢
方法,下面的个人资料》添加坏蛋
头像
Cherrot
帖子: 981
注册时间: 2011-04-03 10:01
系统: Ubuntu 12.XX
来自: 帝都
联系:

Re: APT-get 无法解析或打开软件包的列表或是状态文件

#3

帖子 Cherrot » 2011-07-02 13:22

谢谢Jobs!
原来我又发了个浪费时间贴…… :em03 :em03
Ubuntu技巧汇总http://wiki.ubuntu.org.cn/UbuntuSkills --你遇到的各种问题可能已经在里面了
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.
回复