How to fix E: The package lists or status file could not be parsed or opened in APT

APTINTERMEDIATEHIGHUpdated Sep 6, 2026ยท 242 views

APT cannot read or parse package list files, preventing installations and updates. This happens when cache files become corrupted during failed downloads or system interruptions. Rebuild the package cache by removing corrupted files.

Quick fix

Fixes E: The package lists or status file could not be parsed or opened

sudo rm -rf /var/lib/apt/lists/*
  1. Identify the corrupted file from the error message
  2. Clear the APT package cache
  3. Rebuild the APT cache
  4. Verify the fix and install updates
apt โ€” error
sudo rm -rf /var/lib/apt/lists/*
E: The package lists or status file could not be parsed or opened

What this error means

This error occurs when APT is unable to read or comprehend files in the /var/lib/apt/lists directory, which contains package information from your configured repositories. The parsing failure prevents package installation and updates from proceeding. The error typically references a specific file (like archive.ubuntu.com_ubuntu_dists_bionic_InRelease) that APT cannot process. This corruption can happen during interrupted downloads, power outages, network instability, or filesystem errors.

Typical symptoms

  • apt update command fails with parsing error message
  • apt install or apt upgrade commands fail
  • Synaptic Package Manager or other GUI tools cannot load package lists
  • System shows "Problem with MergeList" error mentioning specific repository files
  • Update manager fails to check for updates in graphical interface

Common causes

  1. Corrupted package list files from interrupted downloads
  2. Network instability or poor internet connection during apt update
  3. Power failure or system crash while APT was updating
  4. Corrupted /var/lib/dpkg/status file tracking installed packages
  5. Filesystem errors or disk corruption
  6. Manual changes to sources.list that break repository configuration
  7. Third-party tools that modify APT behavior incorrectly

How to fix "E: The package lists or status file could not be parsed or opened"

1Identify the corrupted file from the error message

Look at the error output to see which specific file cannot be parsed, for example:

E: Unable to parse package file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_InRelease

Note the filename - you may need to remove just that file or clear all cached files.

2Clear the APT package cache

If multiple files are corrupted or you want to do a complete rebuild, remove all cached package lists:

bash
sudo rm -rf /var/lib/apt/lists/*

If only one file is corrupted (based on the error message), remove just that file:

bash
sudo rm /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_InRelease
3Rebuild the APT cache

Run the update command to rebuild the package lists:

bash
sudo apt update

APT will re-download all package information from your configured repositories. This may take a few minutes depending on your internet speed.

4Verify the fix and install updates

After the update completes successfully, you can proceed with installations and upgrades:

bash
sudo apt upgrade

If the error still occurs, it may be related to a specific repository. Check your sources.list:

bash
sudo nano /etc/apt/sources.list

Remove or comment out (with #) any suspicious or third-party repositories.

Advanced notes

If the error persists after clearing /var/lib/apt/lists, the issue may involve /var/lib/dpkg/status corruption. Restore from backup:

sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status

For permission issues:

sudo chown -R root:root /var/lib/apt/lists
sudo chmod -R 755 /var/lib/apt/lists

Check APT logs at /var/log/apt/ and /var/log/dpkg.log for detailed error information. On systems using xz compression (older releases), compression format incompatibility can cause parsing errors - upgrading APT may be necessary.

Note: Do not delete the /var/lib/apt/lists directory itself, only its contents. If accidentally deleted, recreate it with: sudo mkdir -pv /var/lib/apt/lists/partial

Frequently asked questions

What does "E: The package lists or status file could not be parsed or opened" mean?
This error occurs when APT is unable to read or comprehend files in the /var/lib/apt/lists directory, which contains package information from your configured repositories. The parsing failure prevents package installation and updates from proceeding. com_ubuntu_dists_bionic_InRelease) that APT cannot process.
How do I fix "E: The package lists or status file could not be parsed or opened"?
APT cannot read or parse package list files, preventing installations and updates. This happens when cache files become corrupted during failed downloads or system interruptions. Rebuild the package cache by removing corrupted files.
What causes "E: The package lists or status file could not be parsed or opened"?
Corrupted package list files from interrupted downloads Network instability or poor internet connection during apt update Power failure or system crash while APT was updating
Is the "E: The package lists or status file could not be parsed or opened" error serious?
Yes. This is a high-severity error that usually blocks work until it is fixed, but the steps above resolve it.

Official resources & further reading