Return to Level1Techs.com

Is there a thread for random errors people want help with?

[email protected] ~ $ sudo apt update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/

Can anyone explain what this means and how to fix it??
I was following this guide On making a bootable Win10 usb and got that error.
I'm mostly just confused because isn't that the command to update the whole computer?

1 Like

Sounds like you already have an instance of apt runnning. Check any other terminals and whether maybe your system is automatically searching for updates. If you can't find anything just restart the machine.

1 Like

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

That sounds like a bad idea if another instance of aptitude is indeed running.

Indeed, but your post was first :wink:
btw
ps aux | grep apt

should list apt processes.