Andreas Beckmann wrote...

> If squid-deb-proxy-client is removed (but not purged) from jessie,
> /etc/apt/apt.conf.d/30autoproxy is left behind. This causes a warning in
> jessie, but no failure:
> 
>   Failed to exec method /usr/share/squid-deb-proxy-client/apt-avahi-discover

After taking a look into that: Appearently Acquire::http::ProxyAutoDetect
accepts a plain executable only, so it's not possible to do something
like

    Acquire::http::ProxyAutoDetect "/bin/sh -c '[ -x 
/usr/share/squid-deb-proxy-client/apt-avahi-discover ] && [ -x 
/usr/share/squid-deb-proxy-client/apt-avahi-discover'";

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?

Greetings from the Karlsruhe BSP,

    Christoph

Attachment: signature.asc
Description: PGP signature

Reply via email to