You can install old versions of the libraries and board definitions. Or perhaps you need to update some libraries to match the new board definitions.
I haven't worked with ESP32 recently, or encountered the ESP32 update problem so don't know exactly how to do that, but there are a number of posts on this forum and others that document the problems and describe what they did to solve it.