SVN problem in linux

If you are using the nightly deb for linux and get the following error message:

D targets/mouth/images/mouth-width-min-max.png
svn: Server sent unexpected return value (502 Bad Gateway) in response to PROPFIND request for '/svn/trunk/makehuman/data/targets/mouth/images'

Then execute the following:

sudo rm -rf /usr/share/makehuman/data/targets/mouth
sudo apt-get install -y --force-yes --reinstall makehuman-nightly

This should clean up your local svn checkout and allow you to get the latest targets.