[Bug 717397] Re: package squid 2.7.STABLE7-1ubuntu12.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Steve Langasek
steve.langasek at canonical.com
Sun Feb 27 20:47:01 UTC 2011
Well, that's because the postinst isn't using the init script policy
layer.
if status squid | grep "start/running" > /dev/null; then
restart squid
fi
if [ "$FIXLINES" = "false" ]; then
echo "squid.conf contains 2.2.5 syntax - cache_dir directive - not starting "
echo "Run 'dpkg-reconfigure -plow squid' to fix this automatically,"
echo "or fix the 'cache_dir'-entry in your squid.conf manually."
echo "See documentation in /usr/share/doc/squid for nearer instructions."
else
if status squid | grep "start/running" > /dev/null; then
restart squid
fi
fi
Why isn't this "invoke-rc.d squid restart" like it should be? Also, the
fixlines check is pointless given that it's preceded by a squid restart
command. This all seems to have been a wrong fix for bug #552360 and/or
bug #509307.
This ought to be fixed up in SRU, probably at the same time.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid in ubuntu.
https://bugs.launchpad.net/bugs/717397
Title:
package squid 2.7.STABLE7-1ubuntu12.1 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
More information about the Ubuntu-server-bugs
mailing list