Chinaunix首页 | 论坛 | 博客
  • 博客访问: 25105
  • 博文数量: 22
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 175
  • 用 户 组: 普通用户
  • 注册时间: 2015-07-22 09:27
文章分类

全部博文(22)

文章存档

2017年(5)

2016年(17)

我的朋友

分类: LINUX

2017-08-04 09:21:06

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
阅读(868) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~