“Database corrupted” but instructions fail

You can no long use the standalone sqlite3 for this step and with regard to database repair it is a bit redundant since the .dump and restore does that step anyway.