how to fix package header errors linux

If you get the no package header error.

apt-get upgrade
Reading package lists… Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/security.kali.org_kali-security_dists_kali_updates_non-free_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.



The Solution
sudo rm /var/lib/apt/lists/* -vf


apt-get update
apt-get upgrade


That’s it!!

Tidak ada komentar:

Posting Komentar