Where does HA store downloaded OS upgrades?

This isn’t HA itself, but the OS, eg. 9.5, 12.1 etc.

My issue is HA has at some point downloaded a version of the OS which is incompatible with my setup, and sometimes it decides to install it - I’d like to delete that file so it doesn’t have the option…

thank you!