Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Please unblock package auto-apt-proxy This updates fixes a autopkgtest regression (#989776). Starting with debci 3.0, the test beds have auto-apt-proxy preinstalled in them, what breaks some assumptions of the tests, in special that the apt usage in them is the first time auto-apt-proxy is being used. By setting AUTO_APT_PROXY_NO_CACHE, we avoid auto-apt-proxy caching any results from invocations prior to the test run itself. This brings no risk to end users as the only changes are to the test suite. [ Checklist ] [x] all changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in testing unblock auto-apt-proxy/13.3
diff --git a/debian/changelog b/debian/changelog
index 2ebd205..7d6e40d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+auto-apt-proxy (13.3) unstable; urgency=medium
+
+ * autopkgtest: cope with auto-apt-proxy being pre-installed (Closes: #989776)
+
+ -- Antonio Terceiro <terceiro@debian.org> Fri, 18 Jun 2021 22:51:34 -0300
+
auto-apt-proxy (13.2) unstable; urgency=medium
[ Antonio Terceiro ]
diff --git a/debian/tests/apt-cacher-ng.txt b/debian/tests/apt-cacher-ng.txt
index 20f0936..0b169a5 100644
--- a/debian/tests/apt-cacher-ng.txt
+++ b/debian/tests/apt-cacher-ng.txt
@@ -1,2 +1,3 @@
+$ export AUTO_APT_PROXY_NO_CACHE=1
$ auto-apt-proxy
http://127.0.0.1:3142
diff --git a/debian/tests/apt-integration b/debian/tests/apt-integration
index ea29484..dfdc2fe 100755
--- a/debian/tests/apt-integration
+++ b/debian/tests/apt-integration
@@ -5,6 +5,7 @@ set -eu
cd ${AUTOPKGTEST_TMP:-/tmp}
unset no_proxy
+export AUTO_APT_PROXY_NO_CACHE=1
apt-get source auto-apt-proxy
grep auto-apt-proxy /var/log/apt-cacher-ng/apt-cacher.log
Attachment:
signature.asc
Description: PGP signature