1 ubuntu@trusty-maas9:~⟫ sudo apt-get install squid3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libecap2v5
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
squid squid-common squid-langpack
Suggested packages:
squidclient squid-cgi squid-purge smbclient ufw winbindd apparmor
The following NEW packages will be installed:
squid squid-common squid-langpack squid3
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,667 kB of archives.
After this operation, 10.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package squid-langpack.
(Reading database ... 70523 files and directories currently installed.)
Preparing to unpack .../squid-langpack_20150704-1_all.deb ...
Unpacking squid-langpack (20150704-1) ...
Selecting previously unselected package squid-common.
Preparing to unpack .../squid-common_3.5.12-1ubuntu1_all.deb ...
Unpacking squid-common (3.5.12-1ubuntu1) ...
Selecting previously unselected package squid.
Preparing to unpack .../squid_3.5.12-1ubuntu1_amd64.deb ...
Unpacking squid (3.5.12-1ubuntu1) ...
Processing triggers for systemd (229-3ubuntu1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up squid-langpack (20150704-1) ...
Setting up squid-common (3.5.12-1ubuntu1) ...
Setting up squid (3.5.12-1ubuntu1) ...
Failed to stop squid3.service: Unit squid3.service not loaded.
invoke-rc.d: initscript squid3, action "stop" failed.
dpkg: error processing package squid (--configure):
subprocess installed post-installation script returned error exit status 5
Processing triggers for systemd (229-3ubuntu1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
squid
E: Sub-process /usr/bin/dpkg returned an error code (1)