J101 bord not getting REFLASHED

I have a j101 it was working fine for few days. I had even made the sd card boot enebled. Suddenly it stopped booting. Now I am trying to reflash it but when i use this command “sudo ./apply_binaries.sh” I get error “bash: dpkg: failed apply_binaries.sh”

This is the wiki for flashing the J101, you can have a try: J101 Carrier Board | Seeed Studio Wiki

BTW, If you want to boot from the SD card, you need to flash the emmc normally first, then go to the SD with the steps shown in the link