pi:~ $ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.
Asked
Active
Viewed 4,222 times
2
AsianXL
- 151
- 3
- 6
2 Answers
3
There is a problem with your lists of packages which are contained in the repository. You can try to reinitialize the lists under control of the package manager. How to do that you can look at Raspberry Pi sudo apt-get update not working.
Ingo
- 42,961
- 20
- 87
- 207
0
Try this:
sudo rm /var/lib/dpkg/status
sudo touch /var/lib/dpkg/status
If that doesn't work try this:
sudo rm /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages
sudo touch /var/lib/apt/lists/raspbian.raspberrypi.org_raspbian_dists_buster_main_binary-armhf_Packages
Unsigned_Arduino
- 272
- 2
- 12