"Could not calculate the upgrade" error while upgrading from 18.04 to 20.04.1

Bug #1898467 reported by Shivanshu Siyanwal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I was trying to upgrade from Ubuntu 18.04 to 20.04.1 . I installed the latest software updates as recommended. I started the upgrade process but keep getting this error

"Could not calculate the upgrade

This was likely caused by:
*Unoffocial software packages not provided by Ubuntu."

It recommended the usage of ppa-purge. I installed that command package.
Then I used the command " grep Broken /var/log/dist-upgrade/apt.log" to get the list of the programs that might need to get purged. But I got a list of hundreds of programs. Now I am confused about what to do. How do I find which ppa to purge or which program to remove?

I just started using Ubuntu so don't know anything about how all of this works. Can you help me out?

Thank you

1) Ubuntu 18.04.5 LTS
2)
3) Expected an upgrade from 18.04.5 to 20.04.1
4) The upgrade did not complete due to some error.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.39
ProcVersionSignature: Ubuntu 5.4.0-49.53~18.04.1-generic 5.4.65
Uname: Linux 5.4.0-49-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.18
Architecture: amd64
CrashDB: ubuntu
Date: Sun Oct 4 20:59:39 2020
InstallationDate: Installed on 2020-04-04 (183 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_IN:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_IN
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to bionic on 2020-10-04 (0 days ago)
VarLogDistupgradeTermlog:

mtime.conffile..etc.update-manager.release-upgrades: 2020-10-04T17:33:12.039655

Revision history for this message
Shivanshu Siyanwal (ssiyanwal) wrote :
Revision history for this message
Shivanshu Siyanwal (ssiyanwal) wrote :
Revision history for this message
Shivanshu Siyanwal (ssiyanwal) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Reviewing the files from your upgrade attempt you seem to have enabled a PPA that provides Xorg packages. This will prevent the upgrade as that PPA contains package version numbers greater than the release to which you are upgrading. You can revert the PPA by installing the ppa-purge package from the official Ubuntu archive and then running 'sudo ppa-purge ppa:kisak/kisak-mesa'. After that you can try upgrading again and if it still fails open a new bug report. Thanks and good luck!

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Invalid
tags: added: ppa xorg-kisak-ppa
Revision history for this message
Shivanshu Siyanwal (ssiyanwal) wrote : Re: [Bug 1898467] Re: "Could not calculate the upgrade" error while upgrading from 18.04 to 20.04.1
Download full text (3.3 KiB)

Dear Brian,

Thanks for the reply. I tried the commands which you sent and it worked.
Thanks a ton!! Keep up the good work.

Thank you

Shivanshu

On Tue, 6 Oct 2020 at 03:46, Brian Murray <email address hidden>
wrote:

> *** This bug is a duplicate of bug 1069133 ***
> https://bugs.launchpad.net/bugs/1069133
>
> Reviewing the files from your upgrade attempt you seem to have enabled a
> PPA that provides Xorg packages. This will prevent the upgrade as that
> PPA contains package version numbers greater than the release to which
> you are upgrading. You can revert the PPA by installing the ppa-purge
> package from the official Ubuntu archive and then running 'sudo ppa-
> purge ppa:kisak/kisak-mesa'. After that you can try upgrading again and
> if it still fails open a new bug report. Thanks and good luck!
>
> ** Changed in: ubuntu-release-upgrader (Ubuntu)
> Status: New => Invalid
>
> ** Tags added: ppa xorg-kisak-ppa
>
> ** This bug has been marked a duplicate of bug 1069133
> Get upgrade error 12.04 - 12.10 "Could not determine upgrade" - xorg
> from ppa
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1898467
>
> Title:
> "Could not calculate the upgrade" error while upgrading from 18.04 to
> 20.04.1
>
> Status in ubuntu-release-upgrader package in Ubuntu:
> Invalid
>
> Bug description:
> I was trying to upgrade from Ubuntu 18.04 to 20.04.1 . I installed the
> latest software updates as recommended. I started the upgrade process
> but keep getting this error
>
> "Could not calculate the upgrade
>
> This was likely caused by:
> *Unoffocial software packages not provided by Ubuntu."
>
> It recommended the usage of ppa-purge. I installed that command package.
> Then I used the command " grep Broken /var/log/dist-upgrade/apt.log" to
> get the list of the programs that might need to get purged. But I got a
> list of hundreds of programs. Now I am confused about what to do. How do I
> find which ppa to purge or which program to remove?
>
> I just started using Ubuntu so don't know anything about how all of
> this works. Can you help me out?
>
> Thank you
>
> 1) Ubuntu 18.04.5 LTS
> 2)
> 3) Expected an upgrade from 18.04.5 to 20.04.1
> 4) The upgrade did not complete due to some error.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: ubuntu-release-upgrader-core 1:18.04.39
> ProcVersionSignature: Ubuntu 5.4.0-49.53~18.04.1-generic 5.4.65
> Uname: Linux 5.4.0-49-generic x86_64
> ApportVersion: 2.20.9-0ubuntu7.18
> Architecture: amd64
> CrashDB: ubuntu
> Date: Sun Oct 4 20:59:39 2020
> InstallationDate: Installed on 2020-04-04 (183 days ago)
> InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64
> (20200203.1)
> PackageArchitecture: all
> ProcEnviron:
> LANGUAGE=en_IN:en
> TERM=xterm-256color
> PATH=(custom, no user)
> LANG=en_IN
> SHELL=/bin/bash
> SourcePackage: ubuntu-release-upgrader
> UpgradeStatus: Upgraded to bionic on 2020-10-04 (0 days ago)
> VarLogDistupgradeTermlog:
>
> mtime.conffile..etc.update-manager.release-upgrades:
> 202...

Read more...

To post a comment you must log in.