Hi,

Quoting Patrice Duroux (2024-12-24 19:04:28)
> It seems that sbuild-update does not take into account the following setting
> unlike sbuild:
> 
> $ head ~/.config/sbuild/config.pl
> # example for ~/.sbuildrc.  (Also see /etc/sbuild/sbuild.conf.)  -*- Perl -*-
> #
> # Default settings are commented out.
> # Additional options found in /etc/sbuild/sbuild.conf may be
> # overridden here.
> 
> #$clean_source=0;
> $chroot_mode='unshare';
> 
> 
> Because here is what sbuild-update says without the '--chroot-mode=unshare'
> option:
> 
> $ sbuild-update --update --upgrade --dist-upgrade --autoremove unstable
> W: No chroots are defined in ‘/etc/schroot/schroot.conf’ or
> ‘/etc/schroot/chroot.d’
> Error creating chroot info
> Chroot setup failed at /usr/bin/sbuild-update line 145.
> 
> Whereas sbuild does not need any more such an option to switch to its unshare
> mode.

the solution is: do not use sbuild-update to update your tarballs when you want
to use sbuild with unshare mode. Did you try not using sbuild-update? The tool
is meant for use with the schroot backend, not with the unshare backend.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to