I know this is a bit dated, but I thought I'd post my solution. I encountered this error when using a USB stick. I saw a solution to install 7.4 and then upgrade, which I did but I didn't want to stop there. I thought about it and saw some folks said to use a different or a new USB stick. I had a USB 3.0 HDD enclosure so I put in a 500GB SSD I had around (overkill I know) and wrote the 8.2 image to the HDD using the PI imager. It installed flawlessly. Same image as failed on the USB stick.