Package: squid3
Version: 3.4.8-2
Severity: important
Hi!
It seems that upgrading from stable to current version doesn't work out as
expected.
To reproduce install squid3 from stable, then change the config a bit (the
listening port from 3128 to 3127 for example) and do a apt-get upgrade
(squid3 from stable is running before the upgrade).
You'll end up with this:
The following packages will be upgraded:
squid3 squid3-common
2 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/2326 kB of archives.
After this operation, 2493 kB of additional disk space will be used.
Reading changelogs... DoneY/n]
(Reading database ... 163947 files and directories currently installed.)
Preparing to unpack .../squid3_3.4.8-2_amd64.deb ...
Unpacking squid3 (3.4.8-2) over (3.1.20-2.2+deb7u2) ...
Preparing to unpack .../squid3-common_3.4.8-2_all.deb ...
Unpacking squid3-common (3.4.8-2) over (3.1.20-2.2+deb7u2) ...
Processing triggers for man-db (2.7.0.2-3) ...
Setting up squid3-common (3.4.8-2) ...
Setting up squid3 (3.4.8-2) ...
Installing new version of config file /etc/init.d/squid3 ...
Installing new version of config file /etc/logrotate.d/squid3 ...
Installing new version of config file /etc/resolvconf/update-libc.d/squid3 ...
Configuration file '/etc/squid3/squid.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** squid.conf (Y/I/N/O/D/Z) [default=N] ?
Creating Squid HTTP proxy 3.x spool directory structure
2014/11/05 17:11:09| aclParseAclLine: ACL 'manager' already exists with
different type.
FATAL: Bungled /etc/squid3/squid.conf line 693: acl manager proto cache_object
Squid Cache (Version 3.4.8): Terminated abnormally.
CPU Usage: 0.016 seconds = 0.016 user + 0.000 sys
Maximum Resident Size: 36720 KB
Page faults with physical i/o: 0
dpkg: error processing package squid3 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
squid3
E: Sub-process /usr/bin/dpkg returned an error code (1)
If I change the squid.conf.dpkg-dist into squid.conf then I can finish the
install.
On the old config we have:
acl manager proto cache_object
http_access allow manager localhost
http_access deny manager
And looks to me that there is a new manager acl defined internally as I
cannot see it defined anywhere on the new config file but I can see it being
used:
http_access allow localhost manager
http_access deny manager
Regards
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16-3-amd64 (SMP w/1 CPU core)
Locale: LANG=gl_ES.UTF-8, LC_CTYPE=gl_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages squid3 depends on:
ii adduser 3.113+nmu3
ii libc6 2.19-12
ii libcap2 1:2.24-6
ii libcomerr2 1.42.12-1
ii libdb5.3 5.3.28-6
ii libecap2 0.2.0-1
ii libexpat1 2.1.0-6
ii libgcc1 1:4.9.2-1
ii libgssapi-krb5-2 1.12.1+dfsg-11
ii libk5crypto3 1.12.1+dfsg-11
ii libkrb5-3 1.12.1+dfsg-11
ii libldap-2.4-2 2.4.40-2
ii libltdl7 2.4.2-1.11
ii libnetfilter-conntrack3 1.0.4-1
ii libnettle4 2.7.1-3
ii libpam0g 1.1.8-3.1
ii libsasl2-2 2.1.26.dfsg1-12
ii libstdc++6 4.9.2-1
ii libxml2 2.9.2+dfsg1-1
ii logrotate 3.8.7-1
ii lsb-base 4.1+Debian13+nmu1
ii netbase 5.3
ii squid3-common 3.4.8-2
squid3 recommends no packages.
Versions of packages squid3 suggests:
pn resolvconf <none>
ii smbclient 2:4.1.13+dfsg-2
pn squid-cgi <none>
pn squid-purge <none>
pn squidclient <none>
pn ufw <none>
pn winbindd <none>
-- Configuration Files:
/etc/squid3/squid.conf changed [not included]
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]