On 2022-02-04 12:05, Antonio Terceiro wrote:
On Fri, Feb 04, 2022 at 01:02:58AM +0100, Drew Parsons wrote:
...
--add-apt-release=experimental is added twice to the autopkgtest
command line, and this generates warnings like

W: Target Packages (non-free/binary-all/Packages) is configured multiple
times in
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 and
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3

This is something that we need to fix, but doesn't the job work even
with those warnings?


No, it gets marked as "tmpfail" and does not proceed.

e.g. https://ci.debian.net/data/autopkgtest/unstable/amd64/p/pytest-mpi/18927884/log.gz
at https://ci.debian.net/packages/p/pytest-mpi/unstable/amd64/

The error state is reported in the log as

autopkgtest [23:58:16]: ERROR: "sh -ec mkdir -p /etc/apt/preferences.d; PKGS=""; PKGS="$PKGS $(apt-cache showsrc pytest-mpi | awk '/^Package-List:/ { show=1; next } (/^ / && show==1) { print $1; next } { show=0 }' |sort -u | tr '\n' ' ')"; printf "Package: $PKGS\nPin: release a=experimental\nPin-Priority: 995\n" > /etc/apt/preferences.d/autopkgtest-experimental; " failed with stderr "W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 and /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4

Reply via email to