Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Im using Ubuntu 13.0.4 and have tried getting updates via the command line joy Latest issue is trying to install Root

sudo apt-get install root-system-bin
Getting message
Reading package lists ... Error!
E: Could not open file /var/lib/dpkg/status-open (2: No such file or directory)
E:The package lists or status file could not be parsed or opened.

I have tried

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade


But when I get to second line I get:-

E: Could not open lock file /var/cache/apt/archives/lock-open (2: No such file or directory)
E: Unable to lock the download directory
share|improve this question

marked as duplicate by Braiam, karel, Eric Carvalho, Seth May 26 '14 at 2:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Try sudo rm /var/cache/apt/archives/lock-open –  user224082 May 22 '14 at 13:05
You sure it says /var/lib/dpkg/status-open? –  Braiam May 22 '14 at 14:20

1 Answer 1

Look at your source list to make sure the web address is correct for all repository's.

-Open Software Sources and see if your repository list are displayed correctly. Are the repositories enabled?

-Run this command,

grep -v '#' /etc/apt/sources.list

If you don't have the correct sources set up you can always establish new ones from the following website,

Hope this points you in the right direction.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.