[Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7
Julian Andres Klode
2054925 at bugs.launchpad.net
Sun Feb 25 19:22:32 UTC 2024
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 <bluca at debian.org> 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
Foundations Bugs, which is subscribed to debootstrap in Ubuntu.
https://bugs.launchpad.net/bugs/2054925
Title:
Debootstrap fails for Noble with base-files 13ubuntu7
Status in base-files package in Ubuntu:
Incomplete
Status in debootstrap package in Ubuntu:
Fix Released
Status in debootstrap source package in Focal:
Triaged
Status in debootstrap source package in Jammy:
Triaged
Bug description:
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.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+subscriptions
More information about the foundations-bugs
mailing list