In case someonwe else has this issue ...
This turned out to be a problem with the download process from the on line back up.
The donwload process automatically compressed the data it was sending in a zip and this looks as though it corrupted some (but not all) of the repositories.
On downloading the raw data the problem went away, everthing has been restored.