package squid 3.5.12-1ubuntu7.2 failed to install%Fupgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid3 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
First-time user of this facility. I'm just following the instructions generated by the do-release-upgrade process.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: squid 3.5.12-1ubuntu7.2
ProcVersionSign
Uname: Linux 3.13.0-95-generic i686
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: i386
Date: Tue Sep 20 22:25:53 2016
DuplicateSignature: package:
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-11-24 (666 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release i386 (20140722.3)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: squid3
Title: package squid 3.5.12-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2016-09-20 (0 days ago)
mtime.conffile.
tags: | removed: need-duplicate-check |
From the Log: msntauth. conf ... squid.conf (renamed from /etc/squid3/ squid.conf) ... squid3' : No such file or directory squid3' : No such file or directory
Removing obsolete conffile /etc/squid3/
Preserving user changes to /etc/squid/
stat: cannot stat '/var/spool/
chown: cannot access '/var/spool/
dpkg: error processing package squid (--configure):
subprocess installed post-installation script returned error exit status 1
Hi,
it seems you formerly had a custom squid configuration that now fails to work.
The issue seems to be around "/var/spool/squid3"
Might that have been renamed to just squid as well?
Yeah I see that the new dir is "/var/spool/squid" now instead.
So this is a case where your local configuration is incompatible with the new layout.
I'd recommend to change the config or system setup so they match against each other.
I wonder thou if the package upgrade should take care of those in a maintainer script.
I'd have some ideas, but then users could have done arbitrary things with their /var/spool/squid3 so any postinst handling might be dangerous killing what an admin had set up.
So I think this should stay as is.
In your case as said before I'd recommend adapting setup or config file.
Setting the bug to incomplete, please reopen if you think this is an issue in the package itself or if the recommended workaround doesn't work.