[Bug 2020530] Re: The debootstrap SRU to end all debootstrap SRUs
Chris Halse Rogers
2020530 at bugs.launchpad.net
Wed Jun 7 05:25:25 UTC 2023
Hello Renan, or anyone else affected,
Accepted ubuntu-dev-tools into kinetic-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/ubuntu-dev-
tools/0.193ubuntu4~22.10.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
kinetic to verification-done-kinetic. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-kinetic. In either case, without details of your
testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: ubuntu-dev-tools (Ubuntu Kinetic)
Status: Fix Released => Fix Committed
** Tags removed: verification-done-kinetic
** Tags added: verification-needed-kinetic
--
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 ubuntu-dev-tools package in Ubuntu:
Fix Released
Status in debootstrap source package in Bionic:
Won't Fix
Status in ubuntu-dev-tools source package in Bionic:
In Progress
Status in debootstrap source package in Focal:
Fix Committed
Status in ubuntu-dev-tools source package in Focal:
Fix Committed
Status in debootstrap source package in Jammy:
Fix Committed
Status in ubuntu-dev-tools source package in Jammy:
Fix Committed
Status in debootstrap source package in Kinetic:
Fix Released
Status in ubuntu-dev-tools source package in Kinetic:
Fix Committed
Status in debootstrap source package in Lunar:
Fix Released
Status in ubuntu-dev-tools source package in Lunar:
Fix Released
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]
sudo apt install distro-info debootstrap
series=$((distro-info --supported; distro-info --supported-esm)| sort -u)
for s in $series; do
if [ "$s" = mantic ]; then continue; fi
sudo debootstrap $s ${s}-old
done
install debootstrap from -proposed
for s in $series; do
sudo debootstrap $s ${s}-new
done
for s in $series; do
if [ "$s" = mantic ]; then continue; fi
sudo diff -uNr ${s}-old ${s}-new
done 2>&1 \
| grep -vE 'No such file or directory|is a (character|block) special file|Binary files .*(\.pyc|/var/cache/.*) differ' \
|filterdiff -x '*/etc/machine-id' -x '*/var/lib/dbus/machine-id' -x '*/var/log/**' -x '*/var/lib/dpkg/status*' -x '*/var/cache/**'
(exclude from the diff: dangling (wide) symlinks; device files; compiled pyc files that will differ on each generation; and other text files that are randomly generated or contain timestamp or ordering differences)
[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