Upgrade to Jetpack 5.1 failed

I found this JetPack 5.1 with Jetson Linux 35.2.1 Released - #3 by suhash which helped me out.

Running this fixed my issue:

sudo parted /dev/mmcblk0 -s rm 4
sudo parted /dev/mmcblk0 -s resizepart 3 67.9MB
sudo parted /dev/mmcblk0 mkpart -s A_reserved_on_user 67.9MB 101MB