How to solve E: Encountered a section with no Package: header
This article is mainly about "how to solve E: Encountered a section with no Package: header". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to solve E: Encountered a section with no Package: header.
Upgraded to 12.10 in the book. However, the following error was encountered during update:
Reading package list. There's a mistake!
The code is as follows:
E: Encountered a section with no Package: header
E: Problem with MergeList / var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_quantal_multiverse_i18n_Translation-zh
E: unable to parse or open the list or status file of the package.
The reason is that there is a conflict between the debit source list of 12.04 and 12.10. The solution is to delete all files in this directory:
The code is as follows:
Sudo rm-rf / var/lib/apt/lists/*
Then execute the update command to regenerate:
The code is as follows:
Apt-get update
At this point, I believe you have a deeper understanding of "how to solve E: Encountered a section with no Package: header". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!