Fix this error:

Inserting allgens.90000-99999
Committing...
Traceback (most recent call last):
  File "/builddir/build/BUILD/sage-9.6/cremona.sage.py", line 10, in <module>
    c._init_from_ftpdata('ecdata-2019-10-29')
  File "/builddir/build/BUILDROOT/sagemath-9.6-4.fc38.x86_64/usr/lib64/python3.11/site-packages/sage/databases/cremona.py", line 1397, in _init_from_ftpdata
    self.vacuum()
  File "/builddir/build/BUILDROOT/sagemath-9.6-4.fc38.x86_64/usr/lib64/python3.11/site-packages/sage/databases/sql_db.py", line 2180, in vacuum
    self.__connection__.execute('VACUUM')
sqlite3.OperationalError: cannot VACUUM from within a transaction

diff -up src/sage/databases/cremona.py.orig src/sage/databases/cremona.py
--- src/sage/databases/cremona.py.orig	2021-08-22 02:44:33.000000000 -0600
+++ src/sage/databases/cremona.py	2021-08-26 13:33:03.200366675 -0600
@@ -885,7 +885,8 @@ class MiniCremonaDatabase(SQLDatabase):
                 message = "There is no elliptic curve with label " \
                     + label + " in the default database; try installing " \
                     + "the optional package database_cremona_ellcurve which " \
-                    + "contains the complete Cremona database"
+                    + "contains the complete Cremona database: " \
+                    + "sudo dnf install sagemath-data-elliptic_curves_large"
             raise ValueError(message)
         ainvs = eval(c[0])
         data = {'cremona_label': label,
@@ -1670,6 +1671,7 @@ class LargeCremonaDatabase(MiniCremonaDa
             con.executemany("UPDATE t_curve SET gens=? WHERE curve=?",
                 curve_data)
             print("Committing...")
+            self.commit()
             if largest_conductor and int(v[0]) > largest_conductor:
                 break