The error reports above indicate that the SQLite database file that contains
the repository is being truncated.

What operating system are you using?  And what filesystem?