This is likely because you have python2 packages installed from a PPA.
You'll want to remove those python2 package and try the upgrade again.
These are some of the packages from the PPA.
python2 2.7.15-3~oibaf~b 1
python2-minimal 2.7.15-3~oibaf~b 1
The following page contains instructions about
** This bug is no longer a duplicate of bug 1874512
Can't upgrade 18.04 to 20.04
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874549
Title:
20.04 is not getting updated from 18.04
To manage
*** This bug is a duplicate of bug 1874512 ***
https://bugs.launchpad.net/bugs/1874512
** This bug has been marked a duplicate of bug 1874512
Can't upgrade 18.04 to 20.04
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Thank you for taking the time to report this bug and help make Ubuntu
better. Unfortunately, we cannot work on this bug because your
description didn't include enough information. You may find it helpful
to read 'How to report bugs effectively'