Locally, I often get:
A LocalSettings.php file has been detected. To upgrade this installation, please run update.php instead
That one is annoying and I am not the only one:
Quibble does not delete LocalSettings.php since I was afraid of eventually deleting a file coming from the user. Instead we should delete it. Maybe back it up beforehand? That makes it easier to iterate over and over.