Arduino IDE esp32 issue loading ESP32 update

I keep getting this error message

Downloading packages
esp32:esp32-arduino-libs@idf-release_v5.1-632e0c2a
esp32:esp32@3.0.7
Installing esp32:esp32-arduino-libs@idf-release_v5.1-632e0c2a
Failed to install platform: 'esp32:esp32:3.0.7'.
Error: 13 INTERNAL: Cannot install tool esp32:esp32-arduino-libs@idf-release_v5.1-632e0c2a: testing local archive integrity: testing archive size: fetched archive size differs from size specified in index: 309895581 != 309891323

Any ideas why?

I have a suspicion that you're not using IDE 1.x but IDE 2.x and hence your topic has been moved to the IDE 2.x section of the forum.

Yes sorry I am using IDE 2.3.3 Thanks for info.

I have uninstalled the original and re-installed it so all is ok now