I was getting
write failed: No space left on device (28)
You can remove the file inside the tmp directory just go to the tmp directory
and run the following command
rm -rf ./
It will delete all the directories inside that directory.
rm -rf *.*
It will delete all the files inside that directory.