Your message dated Sun, 29 Sep 2013 13:36:14 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-postgresql-public] Bug#716854: postgresql-common:
Upgrade Wheezy -> Testing fails: insserv rejected the script header
has caused the Debian Bug report #716854,
regarding postgresql-common: Upgrade Wheezy -> Testing fails: insserv rejected
the script header
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
716854: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716854
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postgresql-common
Version: 145
Severity: important
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
I upgraded a machine from Oldstable to Stable, and I'm now in the
process of upgrading to Testing (Jessie). I upgrade a few packages a
time (and their dependencies, as specified by the package relations)
* What exactly did you do (or not do) that was effective (or
ineffective)?
apt-get update
apt-get install … postgresql-common …
* What was the outcome of this action?
See below for error message
* What outcome did you expect instead?
No error message, just a sucessful upgrade run.
*** End of the template - remove these lines ***
Please not that after the failed update I retried it with apt-get -f
install. The following is the output:
postgresql-common (145) wird eingerichtet ...
supported_versions: WARNING: Unknown Debian release: 7
Kein Verzeichnis, Anmeldung mit HOME=/
insserv: warning: script 'K01anon-proxy' missing LSB tags and overrides
insserv: warning: script 'K01chrony' missing LSB tags and overrides
insserv: warning: script 'K01dbus-1' missing LSB tags and overrides
insserv: warning: script 'K01hotplug' missing LSB tags and overrides
insserv: warning: script 'K01hotplug-net' missing LSB tags and overrides
insserv: warning: script 'K01ipfm' missing LSB tags and overrides
insserv: warning: script 'K01iptables' missing LSB tags and overrides
insserv: warning: script 'K01modutils' missing LSB tags and overrides
insserv: warning: script 'S21libdevmapper1.00' missing LSB tags and overrides
insserv: warning: script 'S20initrd-tools.sh' missing LSB tags and overrides
insserv: warning: script 'S20nviboot' missing LSB tags and overrides
insserv: script postgresql: service postgresql already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: Fehler beim Bearbeiten von postgresql-common (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
postgresql-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
-- System Information:
Debian Release: 7.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32.44-grsec
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages postgresql-common depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.49
ii logrotate 3.8.5-1
ii lsb-base 4.1+Debian12
ii postgresql-client-common 145
ii procps 1:3.3.4-2
ii ssl-cert 1.0.32
postgresql-common recommends no packages.
postgresql-common suggests no packages.
-- debconf information:
* postgresql-common/obsolete-major:
postgresql-common/untransitioned:
--
Dr. Helge Kreutzmann [email protected]
Dipl.-Phys. http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Hi Helge,
sorry, I just forgot to reply here.
The problem is the old postgresql-8.1 init script that also provides
"postgresql" next to the new-style postgresql init script. You need to
purge postgresql-8.1, or manually remove/edit that file first.
As 8.1 was only part of a very old release (etch?), I don't think we
are going to provide a fix to automate this. I'm wondering how you got
that box upgraded to wheezy (or even squeeze) without hitting the same
problem. We had a fix for the same problem with postgresql-8.3 in
postgresql-common version 112 from 2010, so that's quite a while ago.
The new "postgresql" init script will take over management of the 8.1
cluster as well. (If you still have any data in there, please
upgrade!)
Christoph
--
[email protected] | http://www.df7cb.de/
Hi Helge,
sorry I just forgot to reply here.
The problem is the old postgresql-8.1 init script that also provides "postgresql" next to the new-style postgresql init script. You need to purge postgresql-8.1, or manually remove/edit that file first.
As 8.1 was only part of a very old release (lenny? etch?), I don't think we are going to provide a fix to automate this. I'm wondering how you got that box upgraded to wheezy (or even squeeze) withou
Helge Kreutzmann <
[email protected]> schrieb:
Hello Christoph,
On Sat, Jul 20, 2013 at 07:22:50PM +0200, Helge Kreutzmann wrote:
Hello Christoph,
On Mon, Jul 15, 2013 at 09:34:09AM +0200, Christoph Berg wrote:
Control: tag -1 moreinfo
Re: Helge Kreutzmann 2013-07-13 <20130713163701.GA17133@Debian-50-lenny-64-minimal>
postgresql-common (145) wird eingerichtet ...
insserv: script postgresql: service postgresql already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: Fehler beim Bearbeiten von postgresql-common (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Hi Helge,
what does egrep '^#.*postgresql' /etc/init.d/* report on this system?
remaxp:~# egrep '^#.*postgresql' /etc/init.d/*
/etc/init.d/exim4:# Should-Start: postgresql mysql clamav-daemon greylist spamassassin
/etc/init.d/exim4:# Should-Stop: postgresql mysql clamav-daemon greylist spamassassin
/etc/init.d/postgresql:# Provides: postgresql
/etc/init.d/postgresql:# set them in /etc/postgresql/<version>/<cluster>/environment instead.
/etc/init.d/postgresql-8.1:# Provides: postgresql postgresql-8.1
/etc/init.d/postgresql-8.1:# set them in /etc/postgresql/8.1/<cluster>/environment instead.
Does this help you? I'd really like to get the dist-upgrade to
complete without error.
Thanks!
Greetings
Helge
--- End Message ---
_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public