[Bug 2020530] Re: The debootstrap SRU to end all debootstrap SRUs

Brian Murray 2020530 at bugs.launchpad.net
Fri May 26 22:25:39 UTC 2023


** Changed in: debootstrap (Ubuntu Kinetic)
       Status: In Progress => Fix Committed

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

Title:
  The debootstrap SRU to end all debootstrap SRUs

Status in debootstrap package in Ubuntu:
  Fix Released
Status in debootstrap source package in Bionic:
  In Progress
Status in debootstrap source package in Focal:
  Fix Committed
Status in debootstrap source package in Jammy:
  Fix Committed
Status in debootstrap source package in Kinetic:
  Fix Committed
Status in debootstrap source package in Lunar:
  Fix Committed

Bug description:
  [Impact]
  Today, debootstrap requires a sourceful change to know about every target name.  This means that every 6 months, we have to do an upload of debootstrap as part of the archive opening so that it can build chroots for the new release.

  We have done this 30 times.

  It causes development drag, because the upload of debootstrap to the
  devel series is not instantaneous, usually gets hung up on failing
  autopkgtests of reverse-dependencies related to other aspects of the
  archive opening, and is slow to get SRUed back to stable series.

  And the only code change required in debootstrap is a symlink to the
  'gutsy' script which has not changed in 15 years.

  In mantic, I have changed the code to detect when the target series is
  one known to distro-info, and if it is, to default to the common
  Ubuntu bootstrap script.  This removes the need for any further
  uploads of debootstrap to inform it of new Ubuntu release names (and
  lets us remove 30 symlinks from the source package).

  [Test case]
  series=$((distro-info --supported; distro-info --supported-esm)| sort -u)
  for s in $series; do
      sudo debootstrap $s ${series}-old
  done
  install debootstrap from -proposed
  for s in $series; do
      sudo debootstrap $s ${series}-new
  done
  for s in $series; do
      sudo diff -uNr ${series}-old ${series}-new
  done

  [Where problems could occur]
  Because this adds a new dependency, there could be problems as a result of pulling it in.  However, distro-info is part of ubuntu-minimal, so is present on any supported Ubuntu system.

  [Original description]
  (on Jammy)
  # sg sbuild -c mk-sbuild --skip-proposed mantic
  Specified release (mantic) not known to debootstrap

  Without this update users cannot generate mantic chroots for
  development.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/2020530/+subscriptions




More information about the foundations-bugs mailing list