This is because of the DistUpgradeFetcher.py expects gksu, but ubuntu-release-upgrader-core does not depend on it and gksu is not installed by default.
This is because of the DistUpgradeFetc her.py expects gksu, but ubuntu- release- upgrader- core does not depend on it and gksu is not installed by default.