Package: pbuilder Version: 0.231 Severity: normal X-Debbugs-Cc: deb...@voltagex.org
Dear Maintainer, I'm not sure if this should be filed against debconf or pbuilder or both (does the Package line support multiple packages?) It was also not clear how to report bugs against the official Debian Docker image A Dockerfile with the following: FROM debian:12.5 RUN apt update && apt install --no-install-recommends -y pbuilder will loop the following: #5 3.737 Setting up pbuilder (0.231) ... #5 3.774 debconf: unable to initialize frontend: Dialog #5 3.774 debconf: (TERM is not set, so the dialog frontend is not usable.) #5 3.774 debconf: falling back to frontend: Readline #5 3.780 debconf: unable to initialize frontend: Readline #5 3.780 debconf: (This frontend requires a controlling tty.) #5 3.780 debconf: falling back to frontend: Teletype #5 3.790 Configuring pbuilder #5 3.790 -------------------- #5 3.790 #5 3.790 Default mirror not found #5 3.790 #5 3.790 Mirror information detection failed and the user provided no mirror #5 3.790 information. #5 3.790 #5 3.790 Please enter valid mirror information. #5 3.790 #5 3.790 Please enter the default mirror you want to be used by pbuilder. #5 3.790 #5 3.790 If you leave this field blank, there will be one attempt to autodetect this #5 3.790 information. If this attempt fails, you will be prompted again to insert some #5 3.790 valid mirror information. #5 3.790 #5 3.790 Here is a valid mirror example: http://deb.debian.org/debian I believe this is due to deb822 format sources lists being used in the container If I change the Dockerfile to read FROM debian:12.5 RUN echo "deb http://deb.debian.org/debian/ stable main contrib" > /etc/apt/sources.list && rm /etc/apt/sources.list.d/debian.sources RUN apt update && apt install --no-install-recommends -y pbuilder Then the package installs correctly -- System Information: Debian Release: 12.5 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.7.7-200.fc39.x86_64 (SMP w/16 CPU threads; PREEMPT) 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+deb12u1 ii dpkg-dev 1.21.22 Versions of packages pbuilder recommends: pn devscripts <none> pn eatmydata <none> pn fakeroot <none> pn net-tools | iproute2 <none> pn sudo <none> Versions of packages pbuilder suggests: pn cowdancer <none> pn gdebi-core <none> -- debconf information excluded