Package Manager problem?

Asked by Brian SMith

Here's what I get from terminal:

# apt-get clean
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
E: Unable to lock the download directory
#

Is there a way to "close" the lock, whatever that is? Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
enubuntu (mr.tennents) said :
#1

Try to do this:
1. Open a terminal by hitting CTRL + ALT + T
2. Insert and run this command:
sudo fuser -cuk /var/lib/dpkg/lock; sudo rm -f /var/lib/dpkg/lock

3. Run the command now and see if you have this error again.

Can you help with this problem?

Provide an answer of your own, or ask Brian SMith for more information if necessary.

To post a message you must log in.