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

Balint Reczey 1905986 at bugs.launchpad.net
Fri Nov 27 16:12:15 UTC 2020


Public bug reported:

[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 gce-compute-image-packages and python3-google-compute-engine packages are kept back.
 * Upgrade google-compute-engine manually:
   apt install google-compute-engine
 * This should succeed, removing python3-google-compute-engine

 Dist-upgrade from Trusty:
  TODO

[Where problems could occur]

 * TODO

** Affects: gce-compute-image-packages (Ubuntu)
     Importance: Undecided
         Status: New

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

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 gce-compute-image-packages and python3-google-compute-engine packages are kept back.
   * Upgrade google-compute-engine manually:
     apt install google-compute-engine
   * This should succeed, removing python3-google-compute-engine

   Dist-upgrade from Trusty:
    TODO

  [Where problems could occur]

   * TODO

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