(Quick Tip) : Couldn’t create temporary file to work with /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_Release – mkstemp (2: No such file or directory)
I got following error while running apt-get update on my Ubuntu 14.04 LTS.
Error :
E: Couldn’t create temporary file to work with /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_Release – mkstemp (2: No such file or directory)
Solution :
Try the following, hopefully it will fix it:
sudo apt-get clean
sudo mv /var/lib/apt/lists /tmp
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get clean
sudo apt-get update
thanks! it worked
thanks! it worked for me
THanks,Its worked for me.
it worked,but WHY ?
thank you!!
thank you!!
It worked, thank you.