A reinstall of all eggs could then be done like this:
1) get the list of all installed eggs
2) write the list to a file
3) remove/uninstall all installed eggs
4) install all missing eggs from the list
So in case of an error, repeating step 4) would always do the right.
Some possible options for chicken-setup to support this:
* output the names of all installed eggs
* update:
- if egg-names are supplied (on the commandline):
- install missing eggs
- update all given eggs with available updates
- otherwise update all installed eggs with available updates