[How-to] Fix “E: Unable to parse package file /var/lib/apt/extended_states (1)” error in Synaptic or apt-get – sathyasays.com
This page looks best with JavaScript enabled

[How-to] Fix “E: Unable to parse package file /var/lib/apt/extended_states (1)” error in Synaptic or apt-get

 ·   ·  ☕ 1 min read  ·  ✍️ Sathyajith Bhat · 👀... views

This is just a quick tip. If you are getting this error message in Synaptic:

E: Unable to parse package file /var/lib/apt/extended_states (1)

E: _cache->open() failed, please report

or this error in apt-get in command line:

Reading package lists… Done

Building dependency tree

Reading state information… Error!

E: Unable to parse package file /var/lib/apt/extended_states (1)

and both just fail to open or install, then just execute this in command line (terminal):

sudo mv /var/lib/apt/extended_states /var/lib/apt/extended_states_tmp

You are done. Thanks to this post

Share on

Sathyajith Bhat
WRITTEN BY
Sathyajith Bhat
Author, AWS Container Hero and DevOps Specialist

What's on this Page