Re: sbuild on hurd-amd64...
Le 16/08/2025 à 10:21, Samuel Thibault a écrit :
Maybe you need a brown-tape modification of
/usr/share/debootstrap/functions
that turns these loops
for s in $SUITE $EXTRA_SUITES; do
into
for s in $EXTRA_SUITES $SUITE; do
to take packages from unreleased in priority over from unstable.
I did:
sed -i 's/for s in \$SUITE \$EXTRA_SUITES; do/for s in $EXTRA_SUITES $SUITE; do/g' /usr/share/debootstrap/functions
debootstrap --keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg --extra-suites=unreleased --include=debian-ports-archive-keyring sid chroot http://deb.debian.org/debian-ports
It failed with a different error this time:
I: Extracting apt...
I: Extracting base-files...
E: Tried to extract package, but tar failed. Exit...
Tail of debootstrap.log:
2025-08-16 09:48:49 URL:http://deb.debian.org/debian-ports/pool/main/x/xkeyboard-config/xkb-data_2.42-1_all.deb [789736/789736] -> "/root/chroot//var/cache/apt/archives/partial/xkb-data_2.42-1_all.deb" [1]
2025-08-16 09:48:49 URL:http://deb.debian.org/debian-ports/pool-hurd-amd64/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_hurd-amd64.deb [88776/88776] -> "/root/chroot//var/cache/apt/archives/partial/zlib1g_1%3a1.3.dfsg+really1.3.1-1+b1_hurd-amd64.deb" [1]
tar: ./bin: Cannot create symlink to 'usr/bin': File exists
tar: Exiting with failure status due to previous errors
--
Stéphane
Reply to: