Package: pbuilder
Version: 0.231
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Building a docker image with pbuilder installed with debconf
frontend non-interactive
* What exactly did you do (or not do) that was effective (or
ineffective)?
When pbuilder is to be installed via apt in the Dockerfile, it's
configuration process apprently tries to puzl some configuration
out of /etc/apt/sources.list - but this file does not exist on
bookworm docker images (and presumeably on other systems,
neither).
At least in the bookworm docker image, the apt sources are
configured via /etc/apt/sources.list.d/debian.sources file, and
I assume its the same for systems installed "normally" with the
debian installer.
But pbuilder apparently relies on the "traditional"
/etc/apt/sources.list file, and otrherwise keeps looping through
an interactive question for the user to input a default mirror
manually.
* What was the outcome of this action?
The interactive question, at least in a docker build run, can not
be answered as the text just keeps looping.
The process must be exited with ctrl-c.
* What outcome did you expect instead?
I expect that pbuilder does not resort to interactive user input
when DEBIAN_FRONTEND=noninteractive and some default is used,
and the pbuilder instal script do not rely on a file that cannot
be guranteed to exist.
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.0-60-lowlatency (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages pbuilder depends on:
ii debconf [debconf-2.0] 1.5.82
ii debootstrap 1.0.128+nmu2
ii dpkg-dev 1.21.20
Versions of packages pbuilder recommends:
ii devscripts 2.22.2
ii eatmydata 130-2
ii fakeroot 1.29-1
ii net-tools 2.10-0.1
ii sudo 1.9.13p1-1
Versions of packages pbuilder suggests:
pn cowdancer <none>
pn gdebi-core <none>
-- debconf information:
* pbuilder/mirrorsite: dölkvsmlskmvs
* pbuilder/nomirror:
pbuilder/rewrite: false