package squid3 3.3.8-1ubuntu6.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1646686 reported by Ganapati
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
squid3 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

please do the needful

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: squid3 3.3.8-1ubuntu6.8
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Uname: Linux 3.13.0-37-generic i686
ApportVersion: 2.14.1-0ubuntu3.21
AptOrdering:
 squid: Remove
 squid3: Configure
Architecture: i386
Date: Fri Dec 2 10:59:49 2016
DpkgTerminalLog:
 Removing squid (3.3.8-1ubuntu6.8) ...
 Setting up squid3 (3.3.8-1ubuntu6.8) ...
 /var/lib/dpkg/info/squid3.postinst: 1: /var/lib/dpkg/info/squid3.postinst: cannot open /etc/squid3/squid.conf: No such file
 dpkg: error processing package squid3 (--configure):
  subprocess installed post-installation script returned error exit status 2
DuplicateSignature: package:squid3:3.3.8-1ubuntu6.8:subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2014-06-20 (895 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.7
 apt 1.0.1ubuntu2.15
SourcePackage: squid3
Title: package squid3 3.3.8-1ubuntu6.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to trusty on 2016-12-01 (0 days ago)
modified.conffile..etc.squid3.errorpage.css: [deleted]
modified.conffile..etc.squid3.msntauth.conf: [deleted]
modified.conffile..etc.squid3.squid.conf: [deleted]

Revision history for this message
Ganapati (ganapati-online) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
thank you for taking the time to report this bug and helping to make Ubuntu better.

I see that you deleted your squid config file:
   postinst: cannot open /etc/squid3/squid.conf: No such file
That also can be seen in:
UpgradeStatus: Upgraded to trusty on 2016-12-01 (0 days ago)
modified.conffile..etc.squid3.errorpage.css: [deleted]
modified.conffile..etc.squid3.msntauth.conf: [deleted]
modified.conffile..etc.squid3.squid.conf: [deleted]

Without these the service can't work, but since the system can't know if you did that intentional it can not just install the plain default configs without your assitance.
If you wanted to remove squid - remove it via apt so that it is not half installed.
If you had other special config in mind, you have to adapt it.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in squid3 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for squid3 (Ubuntu) because there has been no activity for 60 days.]

Changed in squid3 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.