Cannot upgrade from focal to jellyfish

Bug #2002340 reported by Ravi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When running
$ sudo do-release-upgrade -d
get this error
Calculating the changes

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

This was caused by:
* Upgrading to a pre-release version of Ubuntu
This is most likely a transient problem,
please try again later.
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.39
ProcVersionSignature: Ubuntu 5.4.0-136.153-generic 5.4.218
Uname: Linux 5.4.0-136-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: GNOME-Flashback:GNOME
Date: Mon Jan 9 13:13:29 2023
InstallationDate: Installed on 2017-02-15 (2154 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2023-01-09 (0 days ago)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: GNOME-Flashback:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2017-02-15 (2160 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Package: ubuntu-release-upgrader (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.4.0-137.154-generic 5.4.218
Tags: focal dist-upgrade
Uname: Linux 5.4.0-137-generic x86_64
UpgradeStatus: Upgraded to focal on 2023-01-16 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo users
_MarkForUpload: True

Revision history for this message
Ravi (user3477971) wrote :
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Looking at your list of installed packages, it looks like you have several php packages installed from a PPA (https://launchpad.net/~ondrej/+archive/ubuntu/php):

php-common 2:79+ubuntu16.04.1+deb.sury.org+4 1
php5.6 5.6.40-38+ubuntu16.04.1+deb.sury.org+1 0
php5.6-bcmath 5.6.30-7+deb.sury.org~xenial+1 0
php5.6-cli 5.6.30-7+deb.sury.org~xenial+1 1
php5.6-common 5.6.30-7+deb.sury.org~xenial+1 1
php5.6-json 5.6.30-7+deb.sury.org~xenial+1 1
php5.6-opcache 5.6.30-7+deb.sury.org~xenial+1 1
php5.6-readline 5.6.30-7+deb.sury.org~xenial+1 1
php5.6-xml 5.6.30-7+deb.sury.org~xenial+1 0

These are causing conflicts in package upgrades, which is preventing the upgrade. Please remove all packages installed from this PPA and then try the upgrade again (note that you should not use the -d flag when upgrading to a stable release).

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Ravi (user3477971) wrote :

Removed all php packages
$ sudo apt list --installed | grep -i php

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
$
and retried the upgrade and got the same message as before
$ sudo do-release-upgrade
...
Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.

Revision history for this message
Ravi (user3477971) wrote : CurrentDmesg.txt.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Ravi (user3477971) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Ravi (user3477971) wrote : VarLogDistupgradeAptclonesystemstate.tar.gz

apport information

Revision history for this message
Ravi (user3477971) wrote : VarLogDistupgradeAptlog.txt

apport information

Revision history for this message
Ravi (user3477971) wrote : VarLogDistupgradeLspcitxt.txt

apport information

Revision history for this message
Ravi (user3477971) wrote : VarLogDistupgradeMainlog.txt

apport information

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubuntu-release-upgrader (Ubuntu) because there has been no activity for 60 days.]

Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.