Add wget to requirements.
Improve dist-upgrade procedure.