system upgraded to stretch Message-Id: <20190316155830.288514652de850440de12...@iijmio-mail.jp> In-Reply-To: <1540574...@msgid.manchmal.in-ulm.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sat__16_Mar_2019_15_58_30_+0900_/j+zRXFvRO9OiPHt"
This is a multi-part message in MIME format. --Multipart=_Sat__16_Mar_2019_15_58_30_+0900_/j+zRXFvRO9OiPHt Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit control: tags -1 +patch Hi, On Fri, 26 Oct 2018 19:27:05 +0200 Christoph Biedl <debian.a...@manchmal.in-ulm.de> wrote: > So the only solution I can think of was to either move > apt-avahi-discover to /etc/ (not quite good style), or to create a small > wrapper script in /etc/ that just does the check as above - not the best > thing as well, but should do the trick. > > Did I miss something? How about moving 30autoproxy to /usr/share and create symlink under /etc/apt/apt.conf.d to it? Here's a patch, works well after package removal and piuparts clean one. -- Hideki Yamane <henr...@iijmio-mail.jp> --Multipart=_Sat__16_Mar_2019_15_58_30_+0900_/j+zRXFvRO9OiPHt Content-Type: text/x-diff; name="bug867682.patch" Content-Disposition: attachment; filename="bug867682.patch" Content-Transfer-Encoding: 7bit diff -Nru squid-deb-proxy-0.8.14+nmu1/Makefile squid-deb-proxy-0.8.14+nmu2/Makefile --- squid-deb-proxy-0.8.14+nmu1/Makefile 2018-08-16 03:25:06.000000000 +0900 +++ squid-deb-proxy-0.8.14+nmu2/Makefile 2019-03-16 15:30:32.000000000 +0900 @@ -19,4 +19,4 @@ install -m 644 mirror-dstdomain.acl $(DESTDIR)/etc/squid-deb-proxy/ # client install -m 755 apt-avahi-discover $(DESTDIR)/usr/share/squid-deb-proxy-client/ - install -m 644 30autoproxy $(DESTDIR)/etc/apt/apt.conf.d + install -m 644 30autoproxy $(DESTDIR)/usr/share/squid-deb-proxy-client/ diff -Nru squid-deb-proxy-0.8.14+nmu1/debian/changelog squid-deb-proxy-0.8.14+nmu2/debian/changelog --- squid-deb-proxy-0.8.14+nmu1/debian/changelog 2018-08-16 03:25:06.000000000 +0900 +++ squid-deb-proxy-0.8.14+nmu2/debian/changelog 2019-03-16 15:30:32.000000000 +0900 @@ -1,3 +1,12 @@ +squid-deb-proxy (0.8.14+nmu2) unstable; urgency=medium + + * Non-maintainer upload. + * move /etc/apt/conf.d/30autoproxy to under /usr/share/squid-deb-proxy-client + and make symlink to it, to avoid package fetch failure after removed its + package (Closes: #867682) + + -- Hideki Yamane <henr...@debian.org> Sat, 16 Mar 2019 15:30:32 +0900 + squid-deb-proxy (0.8.14+nmu1) unstable; urgency=medium * Non-maintainer upload with maintainer consent diff -Nru squid-deb-proxy-0.8.14+nmu1/debian/squid-deb-proxy-client.links squid-deb-proxy-0.8.14+nmu2/debian/squid-deb-proxy-client.links --- squid-deb-proxy-0.8.14+nmu1/debian/squid-deb-proxy-client.links 1970-01-01 09:00:00.000000000 +0900 +++ squid-deb-proxy-0.8.14+nmu2/debian/squid-deb-proxy-client.links 2019-03-16 15:30:32.000000000 +0900 @@ -0,0 +1 @@ +usr/share/squid-deb-proxy-client/30autoproxy etc/apt/apt.conf.d/30autoproxy --Multipart=_Sat__16_Mar_2019_15_58_30_+0900_/j+zRXFvRO9OiPHt--