Public bug reported:

# Overview

Per LP: #1827951 and LP: #1748581, it would appear that if a snap is
tracking a release channel (e.g. latest/stable/ubuntu-20.10), during a
do-release-upgrade the snap channel should update to the new release.
Testing of a Google cloud image, from 20.10 to 21.04 the google-cloud-
sdk does not get updated.

# Expected result

After a do-release-upgrade, the snap channel for google-cloud-sdk should
be updated from "latest/stable/ubuntu-20.10" to
"latest/stable/ubuntu-21.04".

# Actual result

After install, the snap continues to track "latest/stable/ubuntu-20.10".

# Steps to reproduce

1. Boot 20.10 GCE image
2. snap info google-cloud-sdk --> "latest/stable/ubuntu-20.10"
3. do-release-upgrade -d
4. accept defaults and reboot
5. snap info google-cloud-sdk --> "latest/stable/ubuntu-20.10"

# Logs

main.log https://paste.ubuntu.com/p/kbSvM5JMzP/
screenlog.0 https://paste.ubuntu.com/p/h5kvtcX5Z6/
apt-term.log https://paste.ubuntu.com/p/gNJVzbtT4Z/

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  # Overview
  
  Per LP: #1827951 and LP: #1748581, it would appear that if a snap is
  tracking a release channel (e.g. latest/stable/ubuntu-20.10), during a
  do-release-upgrade the snap channel should update to the new release.
  Testing of a Google cloud image, from 20.10 to 21.04 the google-cloud-
  sdk does not get updated.
  
  # Expected result
  
  After a do-release-upgrade, the snap channel for google-cloud-sdk should
  be updated from "latest/stable/ubuntu-20.10" to
  "latest/stable/ubuntu-21.04".
  
  # Actual result
  
  After install, the snap continues to track "latest/stable/ubuntu-20.10".
  
  # Steps to reproduce
  
  1. Boot 20.10 GCE image
  2. snap info google-cloud-sdk --> "latest/stable/ubuntu-20.10"
  3. do-release-upgrade -d
  4. accept defaults and reboot
- 5. snap info google-cloud-sdk --> "latest/stable/ubuntu-21.04"
+ 5. snap info google-cloud-sdk --> "latest/stable/ubuntu-20.10"
  
  # Logs
  
  main.log https://paste.ubuntu.com/p/kbSvM5JMzP/
  screenlog.0 https://paste.ubuntu.com/p/h5kvtcX5Z6/
  apt-term.log https://paste.ubuntu.com/p/gNJVzbtT4Z/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1922297

Title:
  20.10 to 21.04: snap does not upgrade channel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1922297/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to