← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1668847] Re: live-build: handle downgrade of package priority in -updates pocket

 

This bug was fixed in the package live-build - 3.0~a57-1ubuntu25.2

---------------
live-build (3.0~a57-1ubuntu25.2) xenial; urgency=medium

  * debian/patches/ubuntu-debootstrap-demotions.patch: remove packages
    after bootstrap that have been demoted.  Closes LP: #1668847.

 -- Steve Langasek <steve.langasek@xxxxxxxxxx>  Tue, 28 Feb 2017
21:21:28 -0800

** Changed in: live-build (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1668847

Title:
  live-build: handle downgrade of package priority in -updates pocket

Status in live-build package in Ubuntu:
  Fix Released
Status in live-build source package in Xenial:
  Fix Released

Bug description:
  On rare occasions, we may wish to remove a package from the set of
  required packages post-release.  It is possible to have a binary
  package with a different priority in the release pocket vs. the
  updates pocket, but debootstrap only ever operates against a single
  pocket; so while debootstrapping, the demotion is invisible and a
  package which is Priority: required in the release, but Priority:
  important or lower in -updates, remains installed even if we're trying
  to do a minbase bootstrap.

  Since changing debootstrap to look at multiple pockets would be
  extremely non-trivial, a simpler solution is to have live-build, the
  common code that wraps debootstrap for any of our official image
  builds, identify the demotions and try to remove them from the target
  environment.

  [SRU Justification]
  This is a change in the behavior of live-build which is only relevant to already-stable releases.  We specifically have packages we would like to demote from Required in xenial; this change is required in order for those demotions to be effective.

  [Test case]
  Build an ubuntu-base image with -proposed enabled.  Verify that it builds successfully, and that the locales package is not included in the image.

  [Regression potential]
  This patch takes pains to ensure that only demoted packages are removed from the target chroot, and only if no other installed packages depend on them.  Since the only package which currently has Priority: required in xenial but Priority: important in xenial-updates is locales, there should be minimal risk of regression outside the test path.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/live-build/+bug/1668847/+subscriptions