Hi Frederic,

* Frederic-Emmanuel Picca <[email protected]> [2025-06-20 15:54]:
I try to use sbuild unshare with a modified version of dht, the program call 
sbuild and it failed

I assume you mean dht from pkg-haskell-tools. Can you provide the modified version somewhere so we can test it?

it end up with this error

E: Sub-process cat >&11 returned an error code (2)
E: Failure running script cat >&11
E: apt download failed: E: apt-get --yes -oDebug::pkgDpkgPm=1 -oDir::Log=/dev/null 
-oAPT::Keep-Fds::=11 -oDPkg::Tools::options::'cat >&11'::InfoFD=11 
-oDpkg::Pre-Install-Pkgs::=cat >&11 -oDebug::NoLocking=1 -oDpkg::Use-Pty=0 
-oDPkg::Chroot-Directory= install 
?narrow(?or(?archive(^unstable$),?codename(^unstable$)),?architecture(amd64),?essential) 
-oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false failed: process exited with 100 and error in 
console output
W: hooklistener errored out: E: received eof on socket

That looks like a follow up error and the real reason is "in console output" that is not included.

it seems that this script is not sh compatible, especially the >&11 syntax.

That part is actually from mmdebstrap. You could try with a prebuild chroot.tar.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to