#1041012 /usr/bin/add-apt-repository: add-apt-repository silently fails to install the repository on the first run

#1041012#5
Date:
2023-07-13 22:01:44 UTC
From:
To:

#1041012#10
Date:
2023-07-18 02:13:39 UTC
From:
To:
I can confirm the issue on Debian 12. On my local machine (Debian
trixie, baremetal) it works just fine on first invocation.

Command: add-apt-repository -y "deb [arch=${arch}, trusted=yes]
https://snapshot.debian.org/archive/debian-ports/20230607T135536Z/
unstable main"

2 weeks ago it was working, 18.7.2023 it's broken.

Second run does the job. It's also invocation inside Docker (GitLab-CI
to be precise).

David