Hello Gregor!

On 12/18/22 18:11, Gregor Riepl wrote:
E: Method gave invalid 400 URI Failure message: Could not switch saved 
set-user-ID
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (112)

This seems to be the problem and related to apt. For some reason, apt is not 
able to
switch its user id to "_apt". I'm not sure yet why.

However, I could create a chroot with sbuild-createchroot:

# sbuild-createchroot 
--keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg --arch=sparc64 \
                      --include=debian-ports-archive-keyring sid 
/srv/chroot/sid-sparc64-sbuild \
                      http://ftp.ports.debian.org/debian-ports/

and then fix the apt error with:

# echo "APT::Sandbox::User root;" > 
/srv/chroot/sid-sparc64-sbuild/etc/apt/apt.conf.d/10userid

We need to find out what the reason for the apt user-mapping problem is.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to