[Bug 1810798] Re: package squid 3.5.12-1ubuntu7.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4
Andreas Hasenack
andreas at canonical.com
Tue Jan 8 18:58:59 UTC 2019
Thanks for filing this bug in Ubuntu.
This is the error reported in the logs:
Installing new version of config file /etc/init.d/squid ...
Failed to restart squid.service: Transaction is destructive.
See system logs and 'systemctl status squid.service' for details.
invoke-rc.d: initscript squid, action "restart" failed.
● squid.service - LSB: Squid HTTP Proxy version 3.x
Loaded: loaded (/etc/init.d/squid; bad; vendor preset: enabled)
Active: deactivating (stop) since Mon 2019-01-07 19:33:50 IST; 22s ago
Docs: man:systemd-sysv-generator(8)
Control: 917 (squid)
CGroup: /system.slice/squid.service
├─ 692 /usr/sbin/squid -YC -f /etc/squid/squid.conf
├─ 694 (squid-1) -YC -f /etc/squid/squid.conf
├─28344 (logfile-daemon) /var/log/squid/access.log
└─control
├─ 917 /bin/sh /etc/init.d/squid stop
└─1477 sleep 5
Jan 07 19:29:48 raghvendra-Inspiron-7560 systemd[1]: Reloading LSB: Squid HTT...
Jan 07 19:29:48 raghvendra-Inspiron-7560 squid[28329]: * Reloading Squid HTT...
Jan 07 19:29:48 raghvendra-Inspiron-7560 squid[28329]: ...done.
Jan 07 19:29:48 raghvendra-Inspiron-7560 systemd[1]: Reloaded LSB: Squid HTTP...
Jan 07 19:33:50 raghvendra-Inspiron-7560 systemd[1]: Stopping LSB: Squid HTTP...
Jan 07 19:33:51 raghvendra-Inspiron-7560 squid[917]: * Stopping Squid HTTP P...
Jan 07 19:33:54 raghvendra-Inspiron-7560 squid[917]: * Waiting...
Jan 07 19:34:02 raghvendra-Inspiron-7560 squid[917]: * ...
Jan 07 19:34:07 raghvendra-Inspiron-7560 squid[917]: * ...
Jan 07 19:34:12 raghvendra-Inspiron-7560 squid[917]: * ...
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package squid (--configure):
subprocess installed post-installation script returned error exit status 4
Unfortunately there aren't many details about what went wrong, only that
it looks like stopping squid took too long.
Could you please attach:
- /var/log/squid/cache.log
- output of "systemctl -l status squid"
And also just retry the operation:
sudo apt update
sudo apt -f install
Thanks
** Changed in: squid3 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to squid3 in Ubuntu.
https://bugs.launchpad.net/bugs/1810798
Title:
package squid 3.5.12-1ubuntu7.6 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1810798/+subscriptions
More information about the Ubuntu-server-bugs
mailing list