Cannot upgrade from focal to jellyfish
| 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-
you want to investigate this yourself the log files in
'/var/log/
Specifically, look at 'main.log' and 'apt.log'.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.4.0-136-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: GNOME-Flashback
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)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to focal on 2023-01-09 (0 days ago)
---
ProblemType: Bug
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: GNOME-Flashback
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-
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
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

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 38+ubuntu16. 04.1+deb. sury.org+ 1 0 7+deb.sury. org~xenial+ 1 0 7+deb.sury. org~xenial+ 1 1 7+deb.sury. org~xenial+ 1 1 7+deb.sury. org~xenial+ 1 1 7+deb.sury. org~xenial+ 1 1 7+deb.sury. org~xenial+ 1 1 7+deb.sury. org~xenial+ 1 0
php5.6 5.6.40-
php5.6-bcmath 5.6.30-
php5.6-cli 5.6.30-
php5.6-common 5.6.30-
php5.6-json 5.6.30-
php5.6-opcache 5.6.30-
php5.6-readline 5.6.30-
php5.6-xml 5.6.30-
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).