Buildout hard reset
How to get back to square one with a Plone buildout
If all else fails, reboot. Or, in the base of a buildout, delete any generated files and start again.
The commands below should remove everything and allow you to run a fresh buildout. Run this from the root of the buildout directory, and don't worry if you get a few "file not found" warnings.
$ rm -rf .installed.cfg .mr.developer.cfg parts/ eggs/ develop-eggs/ $ find . -name '*.pyc' -or -name '*.egg-info' | xargs rm -rf $ bin/buildout -n
Finally, if you are using a shared buildout directory and a previous buildout had network trouble, it's possible that you'll have a partially downloaded .zip or .tar.gz or .egg file that is corrupt and confuses buildout. If so, you can remove the offending file from the dist/ directory in your download cache, e.g.:
$ rm ~/.buildout/downloads/dist/foo.bar.zip
or, if you want to clean up all downloaded source archives:
$ rm ~/.buildout/downloads/dist/*
This should be safe, since any egg that's actually used will have been turned into a .egg file/directory anyway.
Check your ~/.buildout/default.cfg file if you've forgotten where your download cache is located.