Unable to upgrade 22.04 to 22.10 because of gnome-calendar

Bug #1996826 reported by David R. Hedges
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm experiencing the same symptom as #1996509, #1995880, #1995087, though I have done my best to rule out any PPA-installed packages:

$aptitude search '?narrow(?installed, !~Oubuntu)'
i vivaldi-snapshot - Experience the web in a whole new way with Vivaldi.
i zoom - Zoom Cloud Meetings

$ cat /etc/apt/sources.list.d/*.list | grep -v '^#'
deb [arch=amd64] https://repo.vivaldi.com/snapshot/deb/ stable main

$ cat /etc/apt/sources.list | grep -ve '^#'

deb http://us.archive.ubuntu.com/ubuntu/ jammy main restricted

deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates main restricted

deb http://us.archive.ubuntu.com/ubuntu/ jammy universe
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates universe

deb http://us.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates multiverse

deb http://us.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu jammy-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse

I also manually checked out several of the packages identified as potential problems in dist-upgrade/apt.log using `apt-cache policy ...`, and all reported as coming from security.ubuntu.com/ubuntu, http://us.archive.ubuntu.com/ubuntu jammy/... or jammy-updates/...
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2021-12-13 (338 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
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.17.0-1021.22-oem 5.17.15
Tags: jammy wayland-session dist-upgrade
Uname: Linux 5.17.0-1021-oem x86_64
UpgradeStatus: Upgraded to jammy on 2022-11-16 (0 days ago)
UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo wireshark
VarLogDistupgradeTermlog:

_MarkForUpload: True

Revision history for this message
David R. Hedges (p14nd4) wrote :
tags: added: apport-collected dist-upgrade jammy wayland-session
description: updated
Revision history for this message
David R. Hedges (p14nd4) wrote : CrashReports.txt

apport information

Revision history for this message
David R. Hedges (p14nd4) wrote : CurrentDmesg.txt.txt

apport information

Revision history for this message
David R. Hedges (p14nd4) wrote : JournalErrors.txt

apport information

Revision history for this message
David R. Hedges (p14nd4) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
David R. Hedges (p14nd4) wrote : VarLogDistupgradeAptclonesystemstate.tar.gz

apport information

Revision history for this message
David R. Hedges (p14nd4) wrote : VarLogDistupgradeAptlog.txt

apport information

Revision history for this message
David R. Hedges (p14nd4) wrote : VarLogDistupgradeLspcitxt.txt

apport information

Revision history for this message
David R. Hedges (p14nd4) wrote : VarLogDistupgradeMainlog.txt

apport information

Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Unable to upgrade 22.04 to 22.10: Broken ubuntu-desktop:amd64 Depends on ubuntu-session:amd64

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

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Revision history for this message
Max Bowsher (maxb) wrote :

I was experiencing this too.

By looking through the lines starting with "Broken " in /var/log/dist-upgrade/apt.log, and a bit of blind trial and error, I found the solution was to uninstall the gnome-calendar package before starting the upgrade.

Revision history for this message
David R. Hedges (p14nd4) wrote :

@maxb's workaround in #11 got me past this issue as well--thanks!

Revision history for this message
Scott Carey (sputnik78) wrote (last edit ):

removing gnome-calendar did not fix it for me, but otherwise my apt.log and main.log are nearly identical.

What I did notice was that gnome-calendar was the first thing listed as broken by in the apt.log file here. For me, it was gir1.2-mutter-10 I removed that --

sudo apt remove gir1.2-mutter-10

(which removed ubuntu-desktop in the process!)

Then went ahead and did

sudo apt autoremove

sudo apt do-release-upgrade

and it worked!

Of course, with ubuntu-desktop gone, upon reboot the system was in text mode, so there was one more step:

sudo apt install ubuntu-desktop

TL;DR

Removing ubuntu-desktop and doing the upgrade without a window manager installed, then re-installing ubuntu-deskto from text mode worked.

Nick Rosbrook (enr0n)
summary: - Unable to upgrade 22.04 to 22.10: Broken ubuntu-desktop:amd64 Depends on
- ubuntu-session:amd64
+ Unable to upgrade 22.04 to 22.10 because of gnome-calendar
Revision history for this message
Glandos (glandos) wrote :

I also confirmed that removing gnome-calendar was not enough.
I had to remove gir1.2-mutter-10, which removed gdm3 (and thus ubuntu-desktop) to be able to run do-release-upgrade until the end.

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.