
Sometimes when you’re trying to either use the Update manager or sudo apt-get update in Ubuntu, it will throw an error saying it was ‘Unable to lock download directory’. More than likely another instance of apt-get is running in the background. Luckily this issue is easily fixed by typing this into a terminal:
sudo pkill apt
This will look for apt to see if any instances are running and kill them. Now you should be able to update as you would normally.
Related posts:
Related posts brought to you by Yet Another Related Posts Plugin.