0

I just ran sudo apt-get autoremove to keep my boot disk clear. I always run sudo apt-get update afterward to make sure my disk is properly updated, otherwise I have difficulty booting up, even through recovery mode.

Just ran sudo apt-get update, after the autoremove command, and it returned the following:

Reading package lists...done
E: Could not get lock /var/lib/apt/lists/lock - open (11:resource temporarily unavailable)
E:Unable to lock directory /var/lib/apt/lists/

That's it! What do I do to fix the command so I can run the update? I don't want to shut my computer off or even restart until I can fix this. I also hope this isn't a duplicate, but I couldn't find anything.

1 Answers1

0

Run sudo apt-get autoremove one more time before trying to update. This fixed the problem for me. Very simple.