The database file was not written on disk because Entropy forwarded any API call to the in-RAM database. If we generate a generic repository and then reload the entropy installed packages one everything will work as expected.