Yes, I've reflashed using the Raspberry Pi imager a couple of times. A few more lines ahead of the error are below. Lots of errors after this line.
-----------------
Setting up libbatik-java (1.12-4) ...
Setting up liblog4j2-java (2.17.0-1~deb11u1) ...
Setting up ca-certificates-java...