Created
March 15, 2016 04:07
-
-
Save unirgy/5d8cae4734e1a1304731 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following extra packages will be installed: | |
squid3 | |
Suggested packages: | |
squidclient squid-cgi | |
The following packages will be upgraded: | |
squid3 | |
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 0 B/1,519 kB of archives. | |
After this operation, 1,024 B of additional disk space will be used. | |
Do you want to continue [Y/n]? y | |
(Reading database ... 445952 files and directories currently installed.) | |
Preparing to replace squid3 3.1.19-1ubuntu3.12.04.4 (using .../squid3_3.1.19-1ubuntu3.12.04.6_i386.deb) ... | |
squid3 stop/waiting | |
cat: /var/run/squid3.pid: No such file or directory | |
dpkg: error processing /var/cache/apt/archives/squid3_3.1.19-1ubuntu3.12.04.6_i386.deb (--unpack): | |
subprocess new pre-installation script returned error exit status 1 | |
squid3 start/running, process 3996 | |
Errors were encountered while processing: | |
/var/cache/apt/archives/squid3_3.1.19-1ubuntu3.12.04.6_i386.deb | |
E: Sub-process /usr/bin/dpkg returned an error code (1) |
$ dpkg -P squid3
dpkg: dependency problems prevent removal of squid3:
squid depends on squid3.
dpkg: error processing squid3 (--purge):
dependency problems - not removing
Errors were encountered while processing:
squid3
$ apt-get --force-yes remove squid3
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
squid : Depends: squid3 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ apt-get purge squid3
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
squid : Depends: squid3 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).