Comment 22 for bug 2054925

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

The changes for Focal had a syntax error (double ';;' lines, not present in Jammy) which causes debootstrap to fail early and silently, even for a previously working series.

Original:

 $ sudo debootstrap --variant=minbase focal /tmp/debootstrap.focal http://br.archive.ubuntu.com/ubuntu
 ...
 I: Base system installed successfully.
 $ echo $?
 0

Patched:

 $ sudo debootstrap --variant=minbase focal /tmp/debootstrap.focal http://br.archive.ubuntu.com/ubuntu
 $ echo $?
 2

Addressed this issue; verified the diff only changed in that regard; and re-uploaded.

 $ diff -U0 debootstrap_1.0.118ubuntu1.12_1.0.118ubuntu1.13.diff debdiff | grep -v '^@@' | sort | uniq -c | sort
       1 +++ debdiff 2024-03-04 21:01:43.500570118 +0000
       1 --- debootstrap_1.0.118ubuntu1.12_1.0.118ubuntu1.13.diff 2024-02-26 15:24:26.000000000 +0000
      32 +@@ -78,7 +78,14 @@
      32 -+ ;;
      32 -@@ -78,7 +78,15 @@