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.
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個命令:
1 sudo rm /var/lib/apt/lists/* -vf
2 sudo apt-get update
具體解決:
run these two commands and it should get you fixed up.
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 rm /var/lib/apt/lists/* -vfCode:
sudo apt-get update