To check the likely cause, run strace -efile apt install something. I had a similar error, but the problem was not in dpkg.status, but in an apt listing. Then apt-get update ran without problems. $ cp /var/backups/dpkg.status.1 /var/lib/dpkg/status rw-r-r- 1 root root 94583 /var/backups/dpkg.status.6.gz rw-r-r- 1 root root 107766 /var/backups/dpkg.status.5.gz rw-r-r- 1 root root 107767 /var/backups/dpkg.status.4.gz rw-r-r- 1 root root 112545 /var/backups/dpkg.status.3.gz rw-r-r- 1 root root 128168 /var/backups/dpkg.status.2.gz Luckily, I found out there are backups of these files: $ ls -l /var/backups/dpkg.status.* $ head /var/lib/dpkg/statusĪll of my status files were blank for some reason. I followed similar suggestions to copy status-old. Error!Į: Encountered a section with no Package: headerĮ: Problem with MergeList /var/lib/dpkg/statusĮ: The package lists or status file could not be parsed or opened. I was running into a similar error: Reading package lists.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |