[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-03-04 Thread Mauricio Faria de Oliveira
> Apologies, I saw the same issue locally fixed it but must have
forgotten to build a new .dsc:/

No worries; thanks for mentioning!

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-03-04 Thread Julian Andres Klode
Apologies, I saw the same issue locally fixed it but must have forgotten
to build a new .dsc:/

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-03-04 Thread Mauricio Faria de Oliveira
Testing with the change applied:

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

$ ls -l /tmp/debootstrap.noble/ | grep usr/
lrwxrwxrwx  1 root root7 Feb 22 14:39 bin -> usr/bin
lrwxrwxrwx  1 root root7 Feb 22 14:39 lib -> usr/lib
lrwxrwxrwx  1 root root9 Feb 22 14:39 lib64 -> usr/lib64
lrwxrwxrwx  1 root root8 Feb 22 14:39 sbin -> usr/sbin

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

** Tags removed: verification-done
** Tags added: verification-needed verification-needed-focal

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-03-04 Thread Mauricio Faria de Oliveira
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 +
  1 --- debootstrap_1.0.118ubuntu1.12_1.0.118ubuntu1.13.diff
2024-02-26 15:24:26.0 +
 32 +@@ -78,7 +78,14 @@
 32 -+  ;;
 32 -@@ -78,7 +78,15 @@

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-29 Thread Launchpad Bug Tracker
This bug was fixed in the package debootstrap - 1.0.126+nmu1ubuntu0.7

---
debootstrap (1.0.126+nmu1ubuntu0.7) jammy; urgency=medium

  * Disable usrmerge code on noble+ as they ship symlinks in base-files,
and the code is incompatible (and no longer needed) (LP: #2054925)

debootstrap (1.0.126+nmu1ubuntu0.6) jammy; urgency=medium

  * Support Packages files which are not ordered alphabetically by Package
field, by backporting upstream commit
86ca8bcc736ceba53ad4a7d9b10b4c2ab65d739d (LP: #1990856)

 -- Julian Andres Klode   Mon, 26 Feb 2024 10:41:03
+0100

** Changed in: debootstrap (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-29 Thread Julian Andres Klode
On

root@known-seal:~# apt policy debootstrap
debootstrap:
  Installed: 1.0.126+nmu1ubuntu0.7
  Candidate: 1.0.126+nmu1ubuntu0.7
  Version table:
 *** 1.0.126+nmu1ubuntu0.7 500
500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
500 http://security.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
100 /var/lib/dpkg/status
 1.0.126+nmu1ubuntu0.5 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
 1.0.126+nmu1 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages

I ran
- debootstrap {focal,jammy,mantic,noble}
- mk-sbuild {focal,jammy,mantic,noble}
- pbuilder-dist {focal,jammy,mantic,noble} create

and with the ubuntu-image run from upils I think we can call that
verified.

** Tags removed: rls-nn-incoming verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-29 Thread Julian Andres Klode
The regression in debuerreotype is expected due to the included change
from the previous SRU (LP: #1990856), packages are now extracted in a
different order for the test case, hence some time stamps shifted.

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-29 Thread Paul Mars
Building an noble image with ubuntu-image, using debootstrap
1.0.126+nmu1ubuntu0.7, worked (on a amd64 Jammy).

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-28 Thread Åka Sikrom
debootstrap 1.0.126+nmu1ubuntu0.7 tested and verified successfully on my
amd64 Jammy install. Thanks!

Now, with the above ppc64el regression warning from ubuntu-sru-bot in
mind, I will refrain from changing the tag to verification-done until
devs address it and/or advise.

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-27 Thread Steve Langasek
** Description changed:

  [Impact]
  The last couple of days, I have been unable to run a successful debootstrap 
for Noble Numbat.
  
  Apparently this is caused by the addition of symlinks (/bin, /lib,
  /lib64 and /sbin) in base-files 13ubuntu7. According to debootstrap.log,
  it fails to extract said symlinks because they already exist at that
  point.
  
  This can be reproduced on build hosts running Jammy Jellyfish against
  any up-to-date Ubuntu public archive mirror as of today.
  
  # lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.4 LTS
  Release:  22.04
  Codename: jammy
  
  # apt-cache policy debootstrap
  debootstrap:
    Installed: 1.0.126+nmu1ubuntu0.5
    Candidate: 1.0.126+nmu1ubuntu0.5
    Version table:
   *** 1.0.126+nmu1ubuntu0.5 500
  500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
  500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
  100 /var/lib/dpkg/status
   1.0.126+nmu1 500
  500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
  500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
  
  Attached shell output of two runs of debootstrap. First run uses mirror
  archive.ubuntu.com (which as of this report serves base-files version
  13ubuntu7), and second run uses a local custom mirror (which serves
  base-files 13ubuntu6). First run fails, second run succeeds.
  
  [Test plan]
  Successfully for each of focal, jammy, mantic, noble
  - debootstrap
- - mksbuild
- - pbuilder whatever chroot management tool it has
+ - mk-sbuild
+ - pbuilder-dist $release create
  - ubuntu-image, if we can pull debootstrap from proposed for this
  
  as well as
  
  - debootstrap noble --merged-usr
- 
  
  [Where problems could occur]
  We do not anticipate any regressions as we replace the previous *) case for 
usrmerge for post-hirsute with a new jammy|kinetic|lunar|mantic one, and the 
new solution will only impact noble and onward.
  
  That said, this is a different approach than mantic and newer take, and
  a different approach than Debian takes, where they moved to merging
  post-extraction, even in stable releases.

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-26 Thread Mauricio Faria de Oliveira
Hello Åka, or anyone else affected,

Accepted debootstrap into jammy-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/debootstrap/1.0.126+nmu1ubuntu0.7
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-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. 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: debootstrap (Ubuntu Jammy)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-jammy

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-26 Thread Mauricio Faria de Oliveira
I confirmed that the resulting target dir of debootstrap in Jammy (with
patch/MERGED_USR=no) and Mantic is the same, with a comparison of `ls
-lR` (normalized for Month/Day/Time fields).

...

Test command for Jammy (patched) and Mantic:

# debootstrap --arch=amd64 --variant=minbase --keyring
/usr/share/keyrings/ubuntu-archive-keyring.gpg noble /tmp/nobletest
http://archive.ubuntu.com/ubuntu

Dir listing for Jammy (patched) and Mantic:

deboostrap-jammy # ls -lR /tmp/nobletest/ > list.jammy
deboostrap-mantic # ls -lR /tmp/nobletest/ > list.mantic

Normalization and comparison:

$ sed -i 's/[A-Z][a-z][a-z] .[0-9] [0-9][0-9]:[0-9][0-9]/DATETIME/'
list.jammy list.mantic

$ diff -U0 list.jammy list.mantic
--- list.jammy  2024-02-26 19:39:49.102864808 -0300
+++ list.mantic 2024-02-26 19:39:49.114864569 -0300
@@ -76 +76 @@
--rw-r--r-- 1 root root  18 DATETIME hostname
+-rw-r--r-- 1 root root  19 DATETIME hostname
@@ -7093 +7093 @@
--rw-r--r-- 1 root root 60238 DATETIME bootstrap.log
+-rw-r--r-- 1 root root 60045 DATETIME bootstrap.log

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-26 Thread Julian Andres Klode
Slrry I can make this clearer too by adding a mantic task and marking it
as fix released.

** Also affects: base-files (Ubuntu Mantic)
   Importance: Undecided
   Status: New

** Also affects: debootstrap (Ubuntu Mantic)
   Importance: Undecided
   Status: New

** Changed in: debootstrap (Ubuntu Mantic)
   Status: New => Fix Released

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-26 Thread Mauricio Faria de Oliveira
TL;DR: The fix is not needed on Mantic.

This is just to expand a bit on the brief note in '[Where problems could
occur]' ("moved to merging post-extraction"), for clarity.

The code in `scripts/gutsy` (used for noble) is different between Mantic
and Jammy with regards to the order of package extraction and usr-merge
setup, in first_stage_install().

The issue happens in Jammy because usr-merge setup runs _before_
extraction (thus extraction of base-files fails as the
/{bin,lib,lib64,sbin} symlinks already exist):

setup_merged_usr
extract $required

But it doesn't happen in Mantic because usr-merge setup runs _after_
extraction (thus extraction of base-files works as the symlinks don't
yet exist):

extract $required
merge_usr

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-26 Thread Julian Andres Klode
** Description changed:

  [Impact]
  The last couple of days, I have been unable to run a successful debootstrap 
for Noble Numbat.
  
  Apparently this is caused by the addition of symlinks (/bin, /lib,
  /lib64 and /sbin) in base-files 13ubuntu7. According to debootstrap.log,
  it fails to extract said symlinks because they already exist at that
  point.
  
  This can be reproduced on build hosts running Jammy Jellyfish against
  any up-to-date Ubuntu public archive mirror as of today.
  
  # lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.4 LTS
  Release:  22.04
  Codename: jammy
  
  # apt-cache policy debootstrap
  debootstrap:
    Installed: 1.0.126+nmu1ubuntu0.5
    Candidate: 1.0.126+nmu1ubuntu0.5
    Version table:
   *** 1.0.126+nmu1ubuntu0.5 500
  500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
  500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
  100 /var/lib/dpkg/status
   1.0.126+nmu1 500
  500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
  500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
  
  Attached shell output of two runs of debootstrap. First run uses mirror
  archive.ubuntu.com (which as of this report serves base-files version
  13ubuntu7), and second run uses a local custom mirror (which serves
  base-files 13ubuntu6). First run fails, second run succeeds.
  
  [Test plan]
- Successfully
- - debootstrap focal
- - debootstrap jammy
- - debootstrap mantic
- - debootstrap noble
+ Successfully for each of focal, jammy, mantic, noble
+ - debootstrap
+ - mksbuild
+ - pbuilder whatever chroot management tool it has
+ - ubuntu-image, if we can pull debootstrap from proposed for this
+ 
+ as well as
+ 
  - debootstrap noble --merged-usr
  
- both in buildd and normal variant, also specifically for noble,
- --merged-usr should be ignored.
  
  [Where problems could occur]
  We do not anticipate any regressions as we replace the previous *) case for 
usrmerge for post-hirsute with a new jammy|kinetic|lunar|mantic one, and the 
new solution will only impact noble and onward.
  
  That said, this is a different approach than mantic and newer take, and
  a different approach than Debian takes, where they moved to merging
  post-extraction, even in stable releases.

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-26 Thread Julian Andres Klode
** Changed in: debootstrap (Ubuntu Focal)
   Status: Triaged => In Progress

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-26 Thread Hon Ming Hui
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054925

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-26 Thread Julian Andres Klode
** Description changed:

  [Impact]
  The last couple of days, I have been unable to run a successful debootstrap 
for Noble Numbat.
  
  Apparently this is caused by the addition of symlinks (/bin, /lib,
  /lib64 and /sbin) in base-files 13ubuntu7. According to debootstrap.log,
  it fails to extract said symlinks because they already exist at that
  point.
  
  This can be reproduced on build hosts running Jammy Jellyfish against
  any up-to-date Ubuntu public archive mirror as of today.
  
  # lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.4 LTS
  Release:  22.04
  Codename: jammy
  
  # apt-cache policy debootstrap
  debootstrap:
    Installed: 1.0.126+nmu1ubuntu0.5
    Candidate: 1.0.126+nmu1ubuntu0.5
    Version table:
   *** 1.0.126+nmu1ubuntu0.5 500
  500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
  500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
  100 /var/lib/dpkg/status
   1.0.126+nmu1 500
  500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
  500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
  
  Attached shell output of two runs of debootstrap. First run uses mirror
  archive.ubuntu.com (which as of this report serves base-files version
  13ubuntu7), and second run uses a local custom mirror (which serves
  base-files 13ubuntu6). First run fails, second run succeeds.
  
  [Test plan]
  Successfully
+ - debootstrap focal
  - debootstrap jammy
  - debootstrap mantic
  - debootstrap noble
  
  both in buildd and normal variant.
  
  [Where problems could occur]
  We do not anticipate any regressions as we replace the previous *) case for 
usrmerge for post-hirsute with a new jammy|kinetic|lunar|mantic one, and the 
new solution will only impact noble and onward.
  
  That said, this is a different approach than mantic and newer take, and
  a different approach than Debian takes, where they moved to merging
  post-extraction, even in stable releases.

** Description changed:

  [Impact]
  The last couple of days, I have been unable to run a successful debootstrap 
for Noble Numbat.
  
  Apparently this is caused by the addition of symlinks (/bin, /lib,
  /lib64 and /sbin) in base-files 13ubuntu7. According to debootstrap.log,
  it fails to extract said symlinks because they already exist at that
  point.
  
  This can be reproduced on build hosts running Jammy Jellyfish against
  any up-to-date Ubuntu public archive mirror as of today.
  
  # lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.4 LTS
  Release:  22.04
  Codename: jammy
  
  # apt-cache policy debootstrap
  debootstrap:
    Installed: 1.0.126+nmu1ubuntu0.5
    Candidate: 1.0.126+nmu1ubuntu0.5
    Version table:
   *** 1.0.126+nmu1ubuntu0.5 500
  500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
  500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
  100 /var/lib/dpkg/status
   1.0.126+nmu1 500
  500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
  500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
  
  Attached shell output of two runs of debootstrap. First run uses mirror
  archive.ubuntu.com (which as of this report serves base-files version
  13ubuntu7), and second run uses a local custom mirror (which serves
  base-files 13ubuntu6). First run fails, second run succeeds.
  
  [Test plan]
  Successfully
  - debootstrap focal
  - debootstrap jammy
  - debootstrap mantic
  - debootstrap noble
  
- both in buildd and normal variant.
+ both in buildd and normal variant, also specifically for noble,
+ --merged-usr should be ignored.
  
  [Where problems could occur]
  We do not anticipate any regressions as we replace the previous *) case for 
usrmerge for post-hirsute with a new jammy|kinetic|lunar|mantic one, and the 
new solution will only impact noble and onward.
  
  That said, this is a different approach than mantic and newer take, and
  a different approach than Debian takes, where they moved to merging
  post-extraction, even in stable releases.

** Description changed:

  [Impact]
  The last couple of days, I have been unable to run a successful debootstrap 
for Noble Numbat.
  
  Apparently this is caused by the addition of symlinks (/bin, /lib,
  /lib64 and /sbin) in base-files 13ubuntu7. According to debootstrap.log,
  it fails to extract said symlinks because they already exist at that
  point.
  
  This can be reproduced on build hosts running Jammy Jellyfish against
  any up-to-date Ubuntu public archive mirror as of today.
  
  # lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.4 LTS
  Release:  22.04
  Codename: jammy
  
  # apt-cache policy debootstrap
  debootstrap:
    Installed: 1.0.126+nmu1ubuntu0.5
    

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-26 Thread Julian Andres Klode
** Changed in: debootstrap (Ubuntu Jammy)
   Status: Triaged => In Progress

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-26 Thread Julian Andres Klode
** Description changed:

- The last couple of days, I have been unable to run a successful
- debootstrap for Noble Numbat.
+ [Impact]
+ The last couple of days, I have been unable to run a successful debootstrap 
for Noble Numbat.
  
  Apparently this is caused by the addition of symlinks (/bin, /lib,
  /lib64 and /sbin) in base-files 13ubuntu7. According to debootstrap.log,
  it fails to extract said symlinks because they already exist at that
  point.
  
  This can be reproduced on build hosts running Jammy Jellyfish against
  any up-to-date Ubuntu public archive mirror as of today.
  
  # lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.4 LTS
  Release:  22.04
  Codename: jammy
  
  # apt-cache policy debootstrap
  debootstrap:
-   Installed: 1.0.126+nmu1ubuntu0.5
-   Candidate: 1.0.126+nmu1ubuntu0.5
-   Version table:
-  *** 1.0.126+nmu1ubuntu0.5 500
- 500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
- 500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
- 100 /var/lib/dpkg/status
-  1.0.126+nmu1 500
- 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
- 500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
- 
+   Installed: 1.0.126+nmu1ubuntu0.5
+   Candidate: 1.0.126+nmu1ubuntu0.5
+   Version table:
+  *** 1.0.126+nmu1ubuntu0.5 500
+ 500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
+ 500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
+ 100 /var/lib/dpkg/status
+  1.0.126+nmu1 500
+ 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
+ 500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
  
  Attached shell output of two runs of debootstrap. First run uses mirror
  archive.ubuntu.com (which as of this report serves base-files version
  13ubuntu7), and second run uses a local custom mirror (which serves
  base-files 13ubuntu6). First run fails, second run succeeds.
+ 
+ [Test plan]
+ Successfully
+ - debootstrap jammy
+ - debootstrap mantic
+ - debootstrap noble
+ 
+ both in buildd and normal variant.
+ 
+ [Where problems could occur]
+ We do not anticipate any regressions as we replace the previous *) case for 
usrmerge for post-hirsute with a new jammy|kinetic|lunar|mantic one, and the 
new solution will only impact noble and onward.
+ 
+ That said, this is a different approach than mantic and newer take, and
+ a different approach than Debian takes, where they moved to merging
+ post-extraction, even in stable releases.

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-25 Thread Åka Sikrom
Also, many thanks for the workaround. I can confirm it works in my case.

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-25 Thread Åka Sikrom
Apologies Julian, I completely forgot to include details of my (Jammy /
22.04) build host which would have avoided the confusion. Adding it to
the report now (although I know it is sort of too late at this point).

** Description changed:

  The last couple of days, I have been unable to run a successful
  debootstrap for Noble Numbat.
  
  Apparently this is caused by the addition of symlinks (/bin, /lib,
  /lib64 and /sbin) in base-files 13ubuntu7. According to debootstrap.log,
  it fails to extract said symlinks because they already exist at that
  point.
  
- This can be reproduced against any up-to-date Ubuntu public archive
- mirror as of today.
+ This can be reproduced on build hosts running Jammy Jellyfish against
+ any up-to-date Ubuntu public archive mirror as of today.
+ 
+ # lsb_release -a
+ No LSB modules are available.
+ Distributor ID:   Ubuntu
+ Description:  Ubuntu 22.04.4 LTS
+ Release:  22.04
+ Codename: jammy
+ 
+ # apt-cache policy debootstrap
+ debootstrap:
+   Installed: 1.0.126+nmu1ubuntu0.5
+   Candidate: 1.0.126+nmu1ubuntu0.5
+   Version table:
+  *** 1.0.126+nmu1ubuntu0.5 500
+ 500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
+ 500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
+ 100 /var/lib/dpkg/status
+  1.0.126+nmu1 500
+ 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
+ 500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
+ 
  
  Attached shell output of two runs of debootstrap. First run uses mirror
  archive.ubuntu.com (which as of this report serves base-files version
  13ubuntu7), and second run uses a local custom mirror (which serves
  base-files 13ubuntu6). First run fails, second run succeeds.

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-25 Thread Julian Andres Klode
As a workaround, --no-merged-usr probably should work fine in old
releases. It might be easier to add this to the script as a special case
for > noble than backporting new logic we don't need anymore.

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-25 Thread Julian Andres Klode
I forgot we can't rely on preinst in bootstrap so backporting the
debootstrap change it will have to be.

** Changed in: base-files (Ubuntu)
   Status: Incomplete => Won't Fix

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-25 Thread Julian Andres Klode
I wrote instead but of course it's in addition, I think that's probably
the easier outcome than trying to workaround it in the base-files
preinst. Consulting with helmut

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-25 Thread Julian Andres Klode
Let me move this to debootstrap tasks instead, I guess we should fix the
LTS debootstraps.

** Changed in: debootstrap (Ubuntu Focal)
   Status: New => Triaged

** Changed in: debootstrap (Ubuntu Jammy)
   Status: New => Triaged

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-25 Thread Julian Andres Klode
Steve I'm sorry but I cannot reproduce this. I have verified this
countless of times during working on this and I am also unable to verify
this here:


# apt policy debootstrap
debootstrap:
  Installed: 1.0.134ubuntu1
  Candidate: 1.0.134ubuntu1
  Version table:
 *** 1.0.134ubuntu1 500
500 https://debian.charite.de/ubuntu noble/main amd64 Packages
500 https://debian.charite.de/ubuntu noble/main i386 Packages
500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu noble/main i386 Packages
100 /var/lib/dpkg/status

# rm -r /tmp/nobletest/ && sudo debootstrap --variant=minbase noble 
/tmp/nobletest   &> debootstrap.log
# grep base-files debootstrap.log 
I: Retrieving base-files 13ubuntu7
I: Validating base-files 13ubuntu7
I: Extracting base-files...
I: Unpacking base-files...
I: Configuring base-files...
# tail debootstrap.log 
I: Configuring libtasn1-6:amd64...
I: Configuring libstdc++6:amd64...
I: Configuring libhogweed6:amd64...
I: Configuring libidn2-0:amd64...
I: Configuring libapt-pkg6.0:amd64...
I: Configuring libp11-kit0:amd64...
I: Configuring libgnutls30:amd64...
I: Configuring apt...
I: Configuring libc-bin...
I: Base system installed successfully.


Your debootstrap log looks fine, it extracts base-files first. At this point, 
/tmp/nobletest should be empty. Unless I suppose you use a old broken version 
of debootstrap that used to create the symlinks before extracting the packages?


debootstrap (1.0.130) unstable; urgency=medium

  [ Helmut Grohne ]
  * implement merged-/usr by post-merging. Closes: #1049898

 -- Luca Boccassi   Fri, 18 Aug 2023 16:02:59 +0100


** Changed in: base-files (Ubuntu)
   Status: New => Incomplete

** Also affects: debootstrap (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: base-files (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: debootstrap (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: base-files (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: debootstrap (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** No longer affects: base-files (Ubuntu Focal)

** No longer affects: base-files (Ubuntu Jammy)

** Changed in: debootstrap (Ubuntu)
   Status: New => Fix Released

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-25 Thread Steve Langasek
** Tags added: rls-nn-incoming

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-25 Thread Steve Langasek
** Changed in: base-files (Ubuntu)
 Assignee: (unassigned) => Julian Andres Klode (juliank)

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-25 Thread Åka Sikrom
** Attachment added: "Output of debootstrap and debootstrap.log"
   
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+attachment/5749151/+files/2024.02.25_debootstrap_base-files.13ubuntu7.vs.13ubuntu6.log

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs