Hi!
On Fri, 14 Dec 2007, A. Costa wrote:
> Package: privoxy
> Version: 3.0.7-1
> Severity: important
> Upgrading from v3.0.6-4 fails:
>
> % dpkg -i /var/cache/apt/archives/privoxy_3.0.7-1_i386.deb
> (Reading database ... 206462 files and directories currently installed.)
> Preparing to replace privoxy 3.0.7-1 (using .../privoxy_3.0.7-1_i386.deb)
> ...
> Stopping filtering proxy server: privoxy.
> Unpacking replacement privoxy ...
> Setting up privoxy (3.0.7-1) ...
> Starting filtering proxy server: invoke-rc.d: initscript privoxy, action
> "start" failed.
> dpkg: error processing privoxy (--install):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> privoxy
I cannot believe that this is all you got. It seems to me, that you
modified /etc/privoxy/config in 3.0.6 and kept this changes with the
3.0.7 upgrade instead of adjusting the config file.
The problem here is, that 3.0.6 wrote the following in config:
# Type of value:
#
# File name, relative to confdir, without the .action suffix
# [...]
actionsfile standard # Internal purpose, recommended
actionsfile global # Global default setting for all sites
actionsfile default # Main actions file
actionsfile user # User customizations
while this was changed in 3.0.7 to:
# Type of value:
#
# Complete file name, relative to confdir
# [...]
actionsfile standard.action # Internal purpose, recommended
actionsfile global.action # Global default setting for all sites
actionsfile default.action # Main actions file
actionsfile user.action # User customizations
So as you can see, the new config file contains the complete file
name, while the old version suppressed the affix .action.
I just purged privoxy, installed 3.0.6-4 and was able to upgrade it to
3.0.7-1 without any problems.
Then I purged privoxy again, installed 3.0.6-4, modified
/etc/privoxy/config and the upgrade asked me, whether I want to keep
the config file or upgrade it to the maintainer version:
# dpkg -i privoxy_3.0.7-1_amd64.deb
(Reading database ... 225798 files and directories currently installed.)
Preparing to replace privoxy 3.0.6-4 (using .../privoxy_3.0.7-1_amd64.deb) ...
Stopping filtering proxy server: privoxy.
Unpacking replacement privoxy ...
Setting up privoxy (3.0.7-1) ...
Configuration file `/etc/privoxy/config'
==> 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 : background this process to examine the situation
The default action is to keep your current version.
*** config (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/privoxy/config ...
Installing new version of config file /etc/privoxy/default.action ...
Installing new version of config file /etc/privoxy/global.action ...
Installing new version of config file /etc/privoxy/standard.action ...
Installing new version of config file /etc/privoxy/default.filter ...
Installing new version of config file /etc/privoxy/trust ...
Installing new version of config file /etc/privoxy/templates/blocked ...
Installing new version of config file /etc/privoxy/templates/cgi-error-404 ...
Installing new version of config file
/etc/privoxy/templates/cgi-error-bad-param ...
Installing new version of config file /etc/privoxy/templates/cgi-error-disabled
...
Installing new version of config file /etc/privoxy/templates/cgi-error-file ...
Installing new version of config file
/etc/privoxy/templates/cgi-error-file-read-only ...
Installing new version of config file /etc/privoxy/templates/cgi-error-modified
...
Installing new version of config file /etc/privoxy/templates/cgi-error-parse ...
Installing new version of config file /etc/privoxy/templates/cgi-style.css ...
Installing new version of config file /etc/privoxy/templates/connect-failed ...
Installing new version of config file /etc/privoxy/templates/default ...
Installing new version of config file
/etc/privoxy/templates/edit-actions-add-url-form ...
Installing new version of config file
/etc/privoxy/templates/edit-actions-for-url ...
Installing new version of config file
/etc/privoxy/templates/edit-actions-for-url-filter ...
Installing new version of config file /etc/privoxy/templates/edit-actions-list
...
Installing new version of config file
/etc/privoxy/templates/edit-actions-remove-url-form ...
Installing new version of config file
/etc/privoxy/templates/edit-actions-url-form ...
Installing new version of config file
/etc/privoxy/templates/mod-support-and-service ...
Installing new version of config file
/etc/privoxy/templates/mod-unstable-warning ...
Installing new version of config file /etc/privoxy/templates/no-such-domain ...
Installing new version of config file /etc/privoxy/templates/show-request ...
Installing new version of config file /etc/privoxy/templates/show-status ...
Installing new version of config file /etc/privoxy/templates/show-status-file
...
Installing new version of config file /etc/privoxy/templates/show-url-info ...
Installing new version of config file /etc/privoxy/templates/show-version ...
Installing new version of config file /etc/privoxy/templates/toggle ...
Installing new version of config file /etc/privoxy/templates/toggle-mini ...
Installing new version of config file /etc/privoxy/templates/untrusted ...
Starting filtering proxy server: privoxy.
As you can see, I had to say "y" to use the maintainer version instead
of keeping the 3.0.6 version, because I know, that the config file was
modified in some parts, which may be incompatible with 3.0.7.
I'm not fully sure, whether there is some better way for the upgrade.
> Perhaps some script is mistakenly looking for '/etc/privoxy/standard'
> instead of '/etc/privoxy/standard.action'?
No script but the old config file, you seem to have kept...
> In the meantime, downgrading to v3.0.6-4 works OK.
Upgrading /etc/privoxy/config should also help.
Tschoeeee
Roland
--
* [EMAIL PROTECTED] * http://www.spinnaker.de/ *
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]