Make sure the the user the process is running under has permissions to delete files that the update process is targeting under that home directory. I had the issue with Minera once on Ubuntu.
in some cases just using sudo to start the process i question will get it the correct permission for file manipulations.