Jetson Orin NX J4012 JP6.0 to JP6.1 via APT fails

I get the error message “mount: /tmp/ci-YdujnpuaCP: must be superuser to use mount.” every time I try to flash the 6.1 version (tried multiple times).

This is the relevant section of the log:

Formatting APP partition /dev/nvme0n1p1 ...
mke2fs 1.46.5 (30-Dec-2021)
Discarding device blocks:        0/20971520                 done                            
Creating filesystem with 20971520 4k blocks and 5242880 inodes
Filesystem UUID: b00842fe-e3bc-41ce-a7d3-759c54325507
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424, 20480000

Allocating group tables:   0/640       done                            
Writing inode tables:   0/640       done                            
Creating journal (131072 blocks): done
Writing superblocks and filesystem accounting information:   0/640       done

Formatting APP parition done
mount: /tmp/ci-YdujnpuaCP: must be superuser to use mount.
[ 32]: l4t_flash_from_kernel: Failed to mount APP partition /dev/nvme0n1p1