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

来源:互联网 发布:淘宝课程培训视频 编辑:程序博客网 时间:2024/04/29 04:50
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.

遇到该问题一般是Ubuntu安装源的问题,需要输入以下2个命令:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

具体解决:
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
0 0
原创粉丝点击