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

Posted 去做点事情

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Reading package lists... Error! 解决方案相关的知识,希望对你有一定的参考价值。

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! 解决方案的主要内容,如果未能解决你的问题,请参考以下文章

Deep learning Reading List

深度学习阅读列表 Deep Learning Reading List

Reading Note读书杂记

Signing package index... Cannot open file '/home/jello/openwrt/key-build' for reading

markdown !R_packages_list.md

markdown !R_packages_list.md