# Upgrading Xenial to Bionic on GCE

Running again with the correct, newer release-upgrader version from
today

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-21T20:25:30Z 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 20:25 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
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]                                            
                                                          
Get:2 Upgrade tool [1,247 kB]                                                   
                                                          
Fetched 1,247 kB in 0s (0 B/s)                                                  
                                                          
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg' 
extracting 'bionic.tar.gz'
[screen is terminating]
$ 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 20:25 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-21 20:32:40,783 INFO release-upgrader version '18.04.44' 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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to