Please see the following comment which has various hints on the included error about pg_upgradecluster: