# Upgrading Xenial to Bionic on GCE (again with more logs this time)

1. Launched GCE instance
2. Installed google-cloud-sdk snap
3. Updated system
4. Verified the tracking channel was updated

$ sudo snap install google-cloud-sdk --channel latest/stable/ubuntu-16.04 
--classic
2021-04-20T16:24:02Z INFO Waiting for automatic snapd restart...
google-cloud-sdk 337.0.0 from Cloud SDK (google-cloud-sdk✓) installed
$ sudo snap info google-cloud-sdk
name:      google-cloud-sdk
summary:   Command-line interface for Google Cloud Platform products and 
services
publisher: Cloud SDK (google-cloud-sdk✓)
store-url: https://snapcraft.io/google-cloud-sdk
contact:   https://cloud.google.com/sdk/docs/
license:   unset
description: |
  Command-line interface for Google Cloud Platform products and services
commands:
  - google-cloud-sdk.anthoscli
  - google-cloud-sdk.bq
  - google-cloud-sdk.docker-credential-gcloud
  - google-cloud-sdk.gcloud
  - google-cloud-sdk.gsutil
  - google-cloud-sdk.kubectl
snap-id:      MJbt3BgxESyOON7gqKVEnA06NLRM3Dxd
tracking:     latest/stable/ubuntu-16.04
refresh-date: today at 17:20 UTC
channels:
  latest/stable:    337.0.0 2021-04-20 (178) 237MB classic
  latest/candidate: ↑                              
  latest/beta:      337.0.0 2021-04-20 (178) 237MB classic
  latest/edge:      337.0.0 2021-04-20 (178) 237MB classic
installed:          337.0.0            (178) 237MB classic
$ do-release-upgrade -p
$ sudo snap info google-cloud-sdk
name:      google-cloud-sdk
summary:   Command-line interface for Google Cloud Platform products and 
services
publisher: Cloud SDK (google-cloud-sdk✓)
store-url: https://snapcraft.io/google-cloud-sdk
contact:   https://cloud.google.com/sdk/docs/
license:   unset
description: |
  Command-line interface for Google Cloud Platform products and services
commands:
  - google-cloud-sdk.anthoscli
  - google-cloud-sdk.bq
  - google-cloud-sdk.docker-credential-gcloud
  - google-cloud-sdk.gcloud
  - google-cloud-sdk.gsutil
  - google-cloud-sdk.kubectl
snap-id:      MJbt3BgxESyOON7gqKVEnA06NLRM3Dxd
tracking:     latest/stable/ubuntu-18.04
refresh-date: today at 16:24 UTC
channels:
  latest/stable:    337.0.0 2021-04-20 (178) 237MB classic
  latest/candidate: ↑                              
  latest/beta:      337.0.0 2021-04-20 (178) 237MB classic
  latest/edge:      337.0.0 2021-04-20 (178) 237MB classic
installed:          337.0.0            (178) 237MB classic
$ grep "release-upgrader version" /var/log/dist-upgrade/main.log
2021-04-20 16:24:46,328 INFO release-upgrader version '18.04.40' started

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to