Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to solve E: Encountered a section with no Package: header

Shulou Source: shulou.com Published: 2022-06-01 08:01:58 10月05日 Update

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!

Tags: Code content files software software packages errors learning practicality deeper interest method reason command practicality practice simple operation method time is in more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi MariaDB Shulou Technology vpn Huawei