Package: sbuild
Version: 0.86.3~bpo12+2
Severity: normal
X-Debbugs-Cc: richard.lewis.deb...@googlemail.com

Dear Maintainer,

I make a chroot with
mmdebstrap --variant=buildd bookworm 
--include=eatmydata,debhelper,fakeroot,apt-utils 
~/.cache/sbuild/bookworm-amd64.tar \
  http://deb.debian.org/debian --aptopt='Acquire::http { Proxy 
"http://127.0.0.1:3142";; }'
  
This has nothing in /var/lib/apt/lists

If i set $apt_update=0 in .sbuild and do include not pass -U to 
$autopkgtest_opts then --run-autopkgtest doesnt work,
because no test dependencies can be downloaded: the chroot session thinks 
everything is a virtual package

If i add --skip=cleanup/apt/lists to mmdebstrap it all works again

I tried
sbuild-update bookworm --chroot-mode=unshare update
it doesnt work -- it only finds schroot-based chroots and never modifies the 
unshare tarball

(I expect most people let sbuild update the chroot at the start)


-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-27-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sbuild depends on:
ii  adduser         3.134
ii  libsbuild-perl  0.86.3~bpo12+2
ii  perl            5.36.0-7+deb12u1

Versions of packages sbuild recommends:
ii  autopkgtest  5.38~bpo12+1
ii  debootstrap  1.0.128+nmu2+deb12u1
ii  schroot      1.6.13-3+b2
ii  uidmap       1:4.13+dfsg1-1+b1

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  e2fsprogs  1.47.0-2
ii  kmod       30+20221128-1
ii  wget       1.21.3-1+b2

-- no debconf information

Reply via email to