11 Mar 2014

How To “Fix E: Could not open file /var/lib/dpkg/status”

QUESTION:
I get the following error when I use sudo apt-get update:
ANSWER:
Open Terminal and run the commands below, the the next you run sudo apt-get update it should run successfully:
$ sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status
$ sudo apt-get update

If you get error E: Lists directory /var/lib/apt/lists/partial is missing.
Run the command below:
$ sudo mkdir /var/lib/apt/lists/partial
Good Luck . . .

No comments:

Post a Comment