Previous "repair" consisted of gobs of caulk under old dried up sealing tape. I cleaned it up some and used silicone as a temporary fix, but the skylight and flashing will have to be replaced.