[Bug 2036765] Re: ubuntu-release-upgrader failed to upgrade snap to track new release

Michael Vogt 2036765 at bugs.launchpad.net
Fri Sep 22 08:46:05 UTC 2023


I see two options:
a) just use "--ignore-running", i.e. "snap refresh --channel=... --ignore-running firefox" 
b) use "snap switch --channel=..." and just let snapd deal with it on the next auto-refresh

Both have pros/cons, but I would lean slightly towards (a) because the
release upgrader is already telling users to close apps (iirc?) and that
running apps may become unstable. In general I would also assume that
stable and stable/ubuntu-23.10 point to the same revision so for the
most part it would be a no-op. And when it's not there is probably a
good reason so we should upgrade.

Hope this helps!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2036765

Title:
  ubuntu-release-upgrader failed to upgrade snap to track new release

Status in snapd package in Ubuntu:
  New
Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed
Status in snapd source package in Mantic:
  New
Status in ubuntu-release-upgrader source package in Mantic:
  Confirmed

Bug description:
  When upgrading Edubuntu 23.04 to Edubuntu 23.10 via `update-manager
  -d`, it failed to stop the snap-store and refresh it to track
  latest/stable/ubuntu-23.10 and was left still tracking
  latest/stable/ubuntu-23.04.

  This is problematic as, if ubuntu-release-upgrader cannot stop snaps
  to upgrade them during the upgrade process, then snaps will be stuck
  tracking old versions.

  ProblemType: Bug
  DistroRelease: Ubuntu 23.10
  Package: ubuntu-release-upgrader-core 1:23.10.6
  ProcVersionSignature: Ubuntu 6.5.0-5.5-generic 6.5.0
  Uname: Linux 6.5.0-5-generic x86_64
  ApportVersion: 2.27.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CrashDB: ubuntu
  CrashReports:
   640:0:0:12097:2023-09-16 09:29:18.827962636 -0700:2023-09-16 09:29:19.827962636 -0700:/var/crash/tuxedo-keyboard.0.crash
   600:0:0:273896:2023-09-16 09:28:56.223826885 -0700:2023-09-16 09:28:57.223826885 -0700:/var/crash/linux-headers-6.5.0-5-generic.0.crash
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Sep 20 08:23:02 2023
  InstallationDate: Installed on 2023-03-28 (177 days ago)
  InstallationMedia: Edubuntu 23.04 "Lunar Lobster" - Alpha amd64 Binary-1 (20230327)
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to mantic on 2023-09-09 (11 days ago)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2036765/+subscriptions




More information about the foundations-bugs mailing list