[Bug 1780841] Re: ubuntu-release-upgrader should transition debs to snaps

Launchpad Bug Tracker 1780841 at bugs.launchpad.net
Thu Jul 19 12:50:48 UTC 2018


This bug was fixed in the package ubuntu-release-upgrader - 1:18.04.21

---------------
ubuntu-release-upgrader (1:18.04.21) bionic; urgency=medium

  * DistUpgradeQuirks.py: when a snap fails to install try the next one
    instead of trying to check the return code of the called process which
    causes a Traceback. (LP: #1781412)
  * data/mirrors.cfg: Update the list of official mirrors.

ubuntu-release-upgrader (1:18.04.20) bionic; urgency=medium

  * Purge obsolete packages, if user agrees to remove obsolete
    packages. LP: #1775660
  * DistUpgradeQuirks.py, DistUpgradeController.py: move inhibiting of
    gnome-session idle so that it is called immediately after the upgrade
    starts (LP: #1778817), present a dialog notifying that the lock screen has
    been disabled (LP: #1174093), and do not reenable the lock screen as it
    may fail to work after a release upgrade. (LP: #1780342)
  * DistUpgradeQuirks.py: Add in a quirk for upgrading to Bionic that will
    check if the system has connectivity to the snap store and replace some
    desktop packages with snaps to ensure the system is similar to a fresh
    install. (LP: #1780841)
  * data/mirrors.cfg: Update the list of official mirrors.

 -- Brian Murray <brian at ubuntu.com>  Sun, 15 Jul 2018 10:16:16 -0700

** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

-- 
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/1780841

Title:
  ubuntu-release-upgrader should transition debs to snaps

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released
Status in ubuntu-release-upgrader source package in Bionic:
  Fix Released

Bug description:
  For new installs the desktop version of Ubuntu 18.04 includes snap
  apps of some utilities[1]. To ensure that there is little difference
  between a system upgrading between releases of Ubuntu and fresh
  installs ubuntu-release-upgrader should be modified to install the
  snap format of those utilities and remove the deb format package. This
  should only be done for Ubuntu Desktop installs and if the system has
  a connection to the Snap Store.

  [Test Case]
  1) Install an Ubuntu desktop system with Ubuntu 16.04
  2) Upgrade to Ubuntu 18.04
  3) Run 'snap list'

  With the version of ubuntu-release-upgrader from -proposed you should
  see snaps installed for gtk-common-themes, gnome-calculator, gnome-
  characters, gnome-logs, gnome-system-monitor.  Additionally, the deb
  version of those four packages should be removed, although if one of
  the snaps failed to install then the corresponding deb would not be
  removed.

  It also be good to test that it is still possible to upgrade without a
  connection to the Snap store and to test this only happens on a system
  with ubuntu-desktop installed.

  [Regression Potential]
  Its possible that the snaps could be install on a system without ubuntu-desktop so we should explicitly test that scenario. The snaps installed should be tested briefly to ensure they are launchable and we don't leave upgraders without a calculator.

  [Note]
  This has been done in a DistUpgradeQuirk and will look different for Cosmic than Bionic as the function name includes the release i.e. cosmicPostUpgrade vs bionicPostUpgrade.

  [1] https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Ubuntu_Desktop

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



More information about the foundations-bugs mailing list