码迷,mamicode.com
首页 > 其他好文 > 详细

Reading package lists... Error! 解决方案

时间:2016-12-18 17:55:23      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:could not   content   ade   ati   article   arc   nat   art   remove   

ubuntu 下安装python开发包,执行命令 sudo apt-get install python-dev,报错;

Reading package lists... Error!

E: Encountered a section with no Package: header

E: Problem with MergeList /var/lib/apt/lists/AZ.archive.ubuntu.com_ubuntu_dists_natty_main_i18n _Translation-en

E: The package lists or status file could not be parsed or opened.

 
解决:

run these two commands and it should get you fixed up.
Code:
sudo rm /var/lib/apt/lists/* -vf
The first command will remove the damaged list and when you run the second command it will replace it with a new list.

Code:
sudo apt-get update

Reading package lists... Error! 解决方案

标签:could not   content   ade   ati   article   arc   nat   art   remove   

原文地址:http://www.cnblogs.com/ymjyqsx/p/6194701.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!