Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1289168

Bug#1133265: sbuild: Wrong (and duplicate) URL for the security suite

From Arnaud Rebillout <arnaudr@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1133265: sbuild: Wrong (and duplicate) URL for the security suite
Date 2026-04-11 10:40 +0200
Message-ID <MIC2J-ei2N-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: sbuild
Version: 0.91.7
Severity: normal

Dear Maintainer,

Today trying to build a package for bullseye (bullseye-security in
d/changelog), in unshare mode. sbuild orders mmdebstrap to create the
build rootfs, as usual, however it fails, logs below:

```
E: Chroot for distribution bullseye-security, architecture amd64 not found
I: Applied base distribution name mangle rule s/(?^:^(.*)-(security|(-proposed)?-updates|backports(-sloppy)?)$)/$1/ turning "bullseye-security" into "bullseye"
I: (?^:^(.*)(security|(-proposed)?-updates|backports(-sloppy)?)$) matched bullseye-security -- adding extra arguments: --setup-hook=echo "deb http://deb.debian.org/debian bullseye-security main" > "$1"/etc/apt/sources.list.d/bullseye-security.list
I: (?^:^.*$) matched bullseye-security -- adding extra arguments: --aptopt=Acquire::HTTP::Proxy "http://localhost:9999";
I: Creating new chroot tarball:
mmdebstrap --variant=buildd --arch=amd64 --skip=output/mknod --format=tar bullseye /home/user/.cache/sbuild/bullseye-security-amd64.tar --setup-hook=echo "deb http://deb.debian.org/debian bullseye-security main" > "$1"/etc/apt/sources.list.d/bullseye-security.list --aptopt=Acquire::HTTP::Proxy "http://localhost:9999";
I: automatically chosen mode: unshare
I: chroot architecture amd64 is equal to the host's architecture
I: finding correct signed-by value...
I: using /tmp/mmdebstrap.6w2SDoGLXw as tempdir
I: skipping output/mknod as requested for ./dev/console
I: skipping output/mknod as requested for ./dev/full
I: skipping output/mknod as requested for ./dev/null
I: skipping output/mknod as requested for ./dev/ptmx
I: skipping output/mknod as requested for ./dev/random
I: skipping output/mknod as requested for ./dev/tty
I: skipping output/mknod as requested for ./dev/urandom
I: skipping output/mknod as requested for ./dev/zero
I: running --setup-hook in shell: sh -c 'echo "deb http://deb.debian.org/debian bullseye-security main" > "$1"/etc/apt/sources.list.d/bullseye-security.list' exec /tmp/mmdebstrap.6w2SDoGLXw
I: running apt-get update...
Get:1 http://security.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:2 http://deb.debian.org/debian bullseye InRelease [75.1 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.0 kB]
Get:4 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [446 kB]
Ign:5 http://deb.debian.org/debian bullseye-security InRelease
Get:6 http://deb.debian.org/debian bullseye/main amd64 Packages [8066 kB]
Err:7 http://deb.debian.org/debian bullseye-security Release
  404  Not Found [IP: ::1 9999]
Get:8 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Reading package lists...
E: The repository 'http://deb.debian.org/debian bullseye-security Release' does not have a Release file.
E: apt-get update --error-on=any -oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false failed: process exited with 100 and error in console output
```

Two things to notice in the logs above:

"Ign:5 http://deb.debian.org/debian bullseye-security InRelease" is
indeed not going to work, security suites are on the security archive

The security suite is already present in APT sources, I think it's due
to the fact that mmdebstrap does that by default anyway.

Apparently the issue was introduced in sbuild commit
e98b7b9123d1f5b21c0764493e20c3e92e3322c3.

Would be nice if someone can confirm, as sbuild shipped in unstable 12
days ago and nobody reported this issue yet, which is a bit surprising.

Best,

Arnaud

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.19.11+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sbuild depends on:
ii  iproute2        6.19.0-1
ii  libsbuild-perl  0.91.7
ii  mount           2.42-2
ii  passwd          1:4.19.3-2
ii  perl            5.40.1-7+b1
ii  sbuild-schroot  0.91.7
ii  uidmap          1:4.19.3-2

Versions of packages sbuild recommends:
ii  apt-utils       3.2.0
ii  dpkg-dev        1.23.7
ii  mmdebstrap      1.5.7-3
ii  sbuild-schroot  0.91.7

Versions of packages sbuild suggests:
ii  autopkgtest  5.55
pn  piuparts     <none>

-- no debconf information

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar


Thread

Bug#1133265: sbuild: Wrong (and duplicate) URL for the security suite Arnaud Rebillout <arnaudr@debian.org> - 2026-04-11 10:40 +0200
  Bug#1133265: sbuild: Wrong (and duplicate) URL for the security suite Arnaud Rebillout <arnaudr@debian.org> - 2026-04-11 11:00 +0200
  Bug#1133265: sbuild: Wrong (and duplicate) URL for the security suite Jochen Sprickerhof <jspricke@debian.org> - 2026-04-11 16:10 +0200
    Bug#1133265: sbuild: Wrong (and duplicate) URL for the security suite Arnaud Rebillout <arnaudr@debian.org> - 2026-04-11 17:40 +0200
      Bug#1133265: sbuild: Wrong (and duplicate) URL for the security suite Jochen Sprickerhof <jspricke@debian.org> - 2026-04-12 16:50 +0200
        Bug#1133265: sbuild: Wrong (and duplicate) URL for the security suite Arnaud Rebillout <arnaudr@debian.org> - 2026-04-13 03:40 +0200
          Bug#1133265: sbuild: Wrong (and duplicate) URL for the security suite Jochen Sprickerhof <jspricke@debian.org> - 2026-04-13 11:10 +0200
            Bug#1133265: sbuild: Wrong (and duplicate) URL for the security suite Arnaud Rebillout <arnaudr@debian.org> - 2026-04-13 18:00 +0200

csiph-web