[Bug 1868409] Re: [FFe] gnome-{calculator, logs, characters} snaps not removed after the equivalent APT packages are installed on 20.04, and gnome-software APT package not replaced by snap-store

Marcus Tomlinson marcus.tomlinson at canonical.com
Mon Apr 6 11:34:03 UTC 2020


** Description changed:

  [ Description ]
  
  I'm trialing the development release of Ubuntu 20.04, installed in
  December and kept up-to-date by regularly running apt full-upgrade.
  
  I understand from [1] that 20.04 will ship
  gnome-{calculator,logs,characters} as APT packages rather than snap
  apps, and gnome-software as a snap app (called snap-store) rather than
  an APT package.
  
  Following an apt full-upgrade in late February, I now have:
  
  * both the snap and the APT versions of gnome-{calculator,logs,characters}
  * still only the APT version of gnome-software, no snap-store
  
  Is this normal? A user in the #ubuntu+1 IRC channel reports that a fresh
  install of the development release:
  
  * only features the APT versions of gnome-{calculator,logs,characters}
  * features the snap-store (but also the APT version of gnome-software)
  
  Are users of older installs of the development release supposed to
  manually uninstall the snap versions of
  gnome-{calculator,logs,characters} and manually install the snap-store?
  
  [1] https://discourse.ubuntu.com/t/is-ubuntu-software-going-to-be-
  remove-for-snap-snap-store/14542
  
  [ Testing ]
  
  With the linked branch applied, update-manager will now (post-upgrade)
  update snaps according to the seeds described in /usr/share/ubuntu-
  release-upgrader/deb2snap.json.
  
  There are three possible update actions:
  
  1. A seeded snap that is not already installed gets installed.
  2. An unseeded snap that has dependants gets refreshed to stable.
  3. An unseeded snap that has no dependants gets removed.
  
  In case 1, if the equivalent deb is installed and was not installed
  manually, it gets removed.
  
  To test all three cases:
  
  `
  sudo apt -y install gnome-software
  sudo apt-mark auto gnome-software
  snap remove snap-store
  
  snap install gnome-3-28-1804
- snap refresh gnome-3-28-1804  --channel=latest/stable/ubuntu-20.04
+ snap refresh gnome-3-28-1804 --channel=latest/stable/ubuntu-18.04
  snap install libreoffice
  
  snap install gnome-calculator
- snap refresh gnome-calculator --channel=latest/stable/ubuntu-20.04
+ snap refresh gnome-calculator --channel=latest/stable/ubuntu-19.10
  snap install gnome-logs
- snap refresh gnome-logs --channel=latest/stable/ubuntu-20.04
+ snap refresh gnome-logs --channel=latest/stable/ubuntu-19.04
  snap install gnome-characters
  snap refresh gnome-characters --channel=latest/stable/ubuntu-20.04
  
  update-manager
  `
  
  Once the update completes you should have:
  
  - the gnome-software deb removed,
  - the snap-store snap installed from "latest/stable/ubuntu-20.04",
  - the gnome-3-28-1804 snap installed from "stable",
  - and the gnome-{calculator,logs,characters} snaps removed.

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

Title:
  [FFe] gnome-{calculator,logs,characters} snaps not removed after the
  equivalent APT packages are installed on 20.04, and gnome-software APT
  package not replaced by snap-store

Status in update-manager package in Ubuntu:
  In Progress

Bug description:
  [ Description ]

  I'm trialing the development release of Ubuntu 20.04, installed in
  December and kept up-to-date by regularly running apt full-upgrade.

  I understand from [1] that 20.04 will ship
  gnome-{calculator,logs,characters} as APT packages rather than snap
  apps, and gnome-software as a snap app (called snap-store) rather than
  an APT package.

  Following an apt full-upgrade in late February, I now have:

  * both the snap and the APT versions of gnome-{calculator,logs,characters}
  * still only the APT version of gnome-software, no snap-store

  Is this normal? A user in the #ubuntu+1 IRC channel reports that a
  fresh install of the development release:

  * only features the APT versions of gnome-{calculator,logs,characters}
  * features the snap-store (but also the APT version of gnome-software)

  Are users of older installs of the development release supposed to
  manually uninstall the snap versions of
  gnome-{calculator,logs,characters} and manually install the snap-
  store?

  [1] https://discourse.ubuntu.com/t/is-ubuntu-software-going-to-be-
  remove-for-snap-snap-store/14542

  [ Testing ]

  With the linked branch applied, update-manager will now (post-upgrade)
  update snaps according to the seeds described in /usr/share/ubuntu-
  release-upgrader/deb2snap.json.

  There are three possible update actions:

  1. A seeded snap that is not already installed gets installed.
  2. An unseeded snap that has dependants gets refreshed to stable.
  3. An unseeded snap that has no dependants gets removed.

  In case 1, if the equivalent deb is installed and was not installed
  manually, it gets removed.

  To test all three cases:

  `
  sudo apt -y install gnome-software
  sudo apt-mark auto gnome-software
  snap remove snap-store

  snap install gnome-3-28-1804
  snap refresh gnome-3-28-1804 --channel=latest/stable/ubuntu-18.04
  snap install libreoffice

  snap install gnome-calculator
  snap refresh gnome-calculator --channel=latest/stable/ubuntu-19.10
  snap install gnome-logs
  snap refresh gnome-logs --channel=latest/stable/ubuntu-19.04
  snap install gnome-characters
  snap refresh gnome-characters --channel=latest/stable/ubuntu-20.04

  update-manager
  `

  Once the update completes you should have:

  - the gnome-software deb removed,
  - the snap-store snap installed from "latest/stable/ubuntu-20.04",
  - the gnome-3-28-1804 snap installed from "stable",
  - and the gnome-{calculator,logs,characters} snaps removed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1868409/+subscriptions



More information about the foundations-bugs mailing list