[Bug 1947501] Re: update-manager should not remove deb-packaged Firefox on flavors

Launchpad Bug Tracker 1947501 at bugs.launchpad.net
Mon Nov 1 18:18:29 UTC 2021


This bug was fixed in the package update-manager - 1:21.10.5

---------------
update-manager (1:21.10.5) impish; urgency=medium

  * UpdateManager/backend/__init__.py: When checking for snap seeds also
    take into consideration whether or not the metapackage associated with the
    snap is installed. (LP: #1947501)

 -- Brian Murray <brian at ubuntu.com>  Mon, 18 Oct 2021 12:26:38 -0700

** Changed in: update-manager (Ubuntu Impish)
       Status: Fix Committed => Fix Released

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

Title:
  update-manager should not remove deb-packaged Firefox on flavors

Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed
Status in update-manager package in Ubuntu:
  In Progress
Status in ubuntu-release-upgrader source package in Impish:
  Confirmed
Status in update-manager source package in Impish:
  Fix Released

Bug description:
  [Impact]
  update-manager lists Firefox as a duplicate package to be removed for Ubuntu flavors which installed it by default.

  [Test Case]
  1. Install Ubuntu MATE 21.10 online or off-line (does not really matter)
  2. Login to freshly installed system
  3. Run `update-manager` manually

  Expected results:
  * update-manager founds some useful updates and install them

  Actual results:
  * update-manager founds some useful updates and will remove Firefox web-browser to replace it with Snap version
  See screenshot and its OCR main part:

    Details of updates
      Install or remove
          Duplicate packages to be removed
              Firefox Web Browser

  With the version of update-manager from -proposed Firefox will no
  longer be suggested for removal on a system without the ubuntu-desktop
  package installed.

  [Where Problems Could Occur]
  It's possible the Firefox deb will no longer be suggested for removal on systems with ubuntu-desktop installed. To test this scenario we can also install the ubuntu-desktop package on the Ubuntu MATE system from the original test and confirm that firefox is suggested for removal.

  [Original Description]
  Additional info:
  * in /usr/share/ubuntu-release-upgrader/deb2snap.json you clearly state the dependency on ubuntu-desktop package (https://git.launchpad.net/ubuntu-release-upgrader/tree/DistUpgrade/deb2snap.json#n10 ), but flavours does not have such package installed, so it is a bug.

  Workaround:
  * mark Firefox as manually installed by `sudo apt-mark manual firefox` and then launch `update-manager` again.

  Documented on:
  * https://askubuntu.com/q/1369778
  * https://ubuntu-mate.community/t/way-to-avoid-snap-version-of-firefox-and-continue-to-use-deb-package-on-freshly-installed-ubuntu-mate-21-10/24691

  ProblemType: BugDistroRelease: Ubuntu 21.10
  Package: update-manager 1:21.10.4
  ProcVersionSignature: Ubuntu 5.13.0-19.19-generic 5.13.14
  Uname: Linux 5.13.0-19-generic x86_64
  ApportVersion: 2.20.11-0ubuntu70
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: MATE
  Date: Sun Oct 17 16:34:57 2021
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'launch-count' b'1'
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'launch-time' b'int64 1634477674'
  InstallationDate: Installed on 2021-10-17 (0 days ago)
  InstallationMedia: Ubuntu-MATE 21.10 "Impish Indri" - Release amd64 (20211012)
  PackageArchitecture: allSourcePackage: update-manager
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list