[Bug 1905986] Re: Don't provide transitional package for python3-google-compute-engine, add Breaks: in google-guest-agent instead

Launchpad Bug Tracker 1905986 at bugs.launchpad.net
Tue Feb 9 18:40:38 UTC 2021


This bug was fixed in the package gce-compute-image-packages -
20201222.00-0ubuntu2~20.10.0

---------------
gce-compute-image-packages (20201222.00-0ubuntu2~20.10.0) groovy; urgency=medium

  * Backport to Groovy.

gce-compute-image-packages (20201222.00-0ubuntu2) hirsute;
urgency=medium

  * Update udev rule fix from upstream

gce-compute-image-packages (20201222.00-0ubuntu1) hirsute;
urgency=medium

  * debian/changelog: Fix LP bug references
  * debian/copyright: Don't exclude upstream debian/ dir
  * debian/gbp.conf: Add minimal gbp configuration
  * New upstream version 20201222.00 (LP: #1911454)
    - Improved nvme drive handling
    - Fix tx affinity logic when number of CPUs is above 32
  * Ship new google_nvme_id script for udev
  * Depend on nvme-cli
  * Fix invalid substitution error in 65-gce-disk-naming.rules

gce-compute-image-packages (20200626.00-0ubuntu2) hirsute;
urgency=medium

  * debian/NEWS: Explain recent packaging changes
  * Don't provide transitional python3-google-compute-engine package.
    Installing google-guest-agent forces the removal of
    python3-google-compute-engine to avoid accidental upgrades in stable
    releases. (LP: #1905986)

 -- Balint Reczey <rbalint at ubuntu.com>  Wed, 13 Jan 2021 23:12:30 +0100

** Changed in: gce-compute-image-packages (Ubuntu Groovy)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gce-compute-image-packages in
Ubuntu.
https://bugs.launchpad.net/bugs/1905986

Title:
  Don't provide transitional package for python3-google-compute-engine,
  add Breaks: in google-guest-agent instead

Status in gce-compute-image-packages package in Ubuntu:
  New
Status in google-guest-agent package in Ubuntu:
  Fix Released
Status in gce-compute-image-packages source package in Groovy:
  Fix Released
Status in google-guest-agent source package in Groovy:
  Fix Released

Bug description:
  [Impact]

   * gce-compute-image-packages has been split to multiple source packages and google-guest-agent (written in Go) replaced the services originally written in Python. The upgrade to gce-compute-image-packages compatible with google-guest-agent replaced the Python modules (python3-google-compute-engine) with an empty transitional package. The removal of the modules could break local software relying on those modules.
   * The fix is not providing the empty python3-google-compute-engine transitional package, but adding Breaks: to google-guest-agent to force the removal of it. Since removals are not performed automatically by apt-get upgrade (not unattended-upgrades) the administrator needs to approve removal.

  [Test Case]

   * Set up a system with the unfixed version of the packages, including python3-google-compute-engine installed.
   * Upgrade to the new set of packages:
     apt-get upgrade
   * Observe that the google-guest-agent is kept back
   * Upgrade google-guest-agent manually:
     apt install google-guest-agent
   * This should succeed, removing python3-google-compute-engine

  [Where problems could occur]

   * The packages may become uninstallable upon upgrade or dist-upgrade.
  Testing was performed to avoid such regressions.

   * Since the aim of this fix is preventing accidental upgrades should
  a security update of the affected packages be released the fix will
  prevent automatic application of this updated. In such case the the
  transitional package can be reintroduced and the Breaks: can be
  converted to a versioned Breaks: on the non-transitional package
  versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gce-compute-image-packages/+bug/1905986/+subscriptions



More information about the foundations-bugs mailing list