updating a directory that fails on Ubuntu