Hi,

 I've created a patch for squid-deb-proxy-client bug as below.
 But I'm not sure it's okay to override conffile under /etc with
 symlink. Any comments? If not, I'll upload it.


On Sat, 16 Mar 2019 15:58:30 +0900 Hideki Yamane <henr...@iijmio-mail.jp> wrote:
>  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.

> 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...@iijmio-mail.jp>

Reply via email to