Trying to upgrade from 20.04 to 22.04.

Bug #2010069 reported by Kevin Carson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Upgrade can't be calculated but not clear what the problem is. I did remove 3rd party applications and repositories beforehand.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.40
ProcVersionSignature: Ubuntu 5.15.0-67.74~20.04.1-generic 5.15.85
Uname: Linux 5.15.0-67-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 10 07:39:40 2023
InstallationDate: Installed on 2021-01-09 (790 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2023-03-10 (0 days ago)
VarLogDistupgradeTermlog:

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Revision history for this message
Giuseppe D'Angelo (dangelo) wrote :

I've got an identical problem.

* Removed all 3rd party packages; and removed the corresponding sources.list entries
* apt list '?obsolete' => returns nothing
* No package is manually hold (apt-mark showhold is empty)

Still the upgrade fails with the same error message:

2023-03-10 16:41:43,623 DEBUG Marking 'ubuntu-desktop' for upgrade
2023-03-10 16:41:43,744 WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.)
2023-03-10 16:41:44,001 ERROR Dist-upgrade failed: 'Broken packages after upgrade: evolution-data-server, gnome-control-center, libgirepository-1.0-1, ubuntu-desktop'

Just to exclude the possibility that there is some broken package installed, is there a way to check that all the packages on my system are *official* packages? (Basically, coming from Ubuntu, and each one at the "expected version" and not some broken version somehow, that would impede the upgrade).

Revision history for this message
Giuseppe D'Angelo (dangelo) wrote :

As a further experiment, I've raised in /etc/apt/preferences the priority of focal's repositories to 1100, in order to check if I've currently got packages that have been bumped above the official version (say, by a broken PPA) -- nothing.

(1100 should allow for downgrades.)

Revision history for this message
Giuseppe D'Angelo (dangelo) wrote :
Revision history for this message
Giuseppe D'Angelo (dangelo) wrote :
Revision history for this message
Kevin Carson (kevincarson) wrote :

Inspired by Giuseppe's comments, I tracked down some obsolete packages using "apt list '?obsolete'" and removed those as well as their lingering dependencies. I also checked if there were any held packages using "apt-mark showhold" and there were none.

Unfortunately, after another try of doing the update-manager, it crashed complaining about an I/O error with X11. Another run complained about running a window as root within another user's session being not allowed and I am now faced with a partial upgrade situation as the apt sources were left steered to 22.04 :(

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

This is a duplicate of bug 2009895, and should be resolved now.

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.