运行 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。
APT-get 无法解析或打开软件包的列表或是状态文件
- Cherrot
- 帖子: 981
- 注册时间: 2011-04-03 10:01
- 系统: Ubuntu 12.XX
- 来自: 帝都
- 联系:
APT-get 无法解析或打开软件包的列表或是状态文件
Ubuntu技巧汇总http://wiki.ubuntu.org.cn/UbuntuSkills --你遇到的各种问题可能已经在里面了
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.
- Steve Jobs
- 帖子: 824
- 注册时间: 2011-04-28 12:27
Re: APT-get 无法解析或打开软件包的列表或是状态文件
代码: 全选
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
- Cherrot
- 帖子: 981
- 注册时间: 2011-04-03 10:01
- 系统: Ubuntu 12.XX
- 来自: 帝都
- 联系:
Re: APT-get 无法解析或打开软件包的列表或是状态文件
谢谢Jobs!
原来我又发了个浪费时间贴……

原来我又发了个浪费时间贴……


Ubuntu技巧汇总http://wiki.ubuntu.org.cn/UbuntuSkills --你遇到的各种问题可能已经在里面了
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.