examine the error and then add repairs. These probably should be done at the begining of the u[grade process to ensure a smooth upgrade