The Sun will have long went supernova by then, there won't be nothing but dead rock planets.
The Sun won't go supernova; it doesn't have sufficient mass. It'll first become a red giant, which should be happening at about the time of the theorized galactic merger. Then, once the expanded solar atmosphere has cooled off/blown out into interstellar space, it'll settle down into a white dwarf.
The Earth will have been thoroughly baked by the Sun's expansion - it'll be orbiting within the expanded solar atmosphere - but some of the outer planets will be around, including with their moons.
That being said, humanity will either have gone extinct, or evolved well beyond the need to remain stuck on a single near-star rocky planet, so while the result will probably be devastating to certain nostalgics, assuming the latter scenario, it really won't be of much importance to humanity itself.