Your message dated Thu, 16 Aug 2012 12:08:54 +0200
with message-id <[email protected]>
and subject line Re: Bug#556205: postgresql-8.4: upgrade fails when both 8.3 
and 8.4 are installed, but only 8.3 is running
has caused the Debian Bug report #556205,
regarding postgresql-8.4: upgrade fails when both 8.3 and 8.4 are installed, 
but only 8.3 is running
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.)


-- 
556205: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556205
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postgresql-8.4
Version: 8.4.0-2
Severity: normal

I have postgresql 8.3 installed as well as 8.4. However 8.4 is disabled in
the runlevels and only 8.3 is running. When trying an upgrade of
postgresql-8.4 I get the following:

Preparing to replace postgresql-8.4 8.4.0-2 (using 
.../postgresql-8.4_8.4.1-1_amd64.deb) ...
Stopping PostgreSQL 8.4 database server: mainError: pid file is invalid, please 
manually kill the stale server process. ... failed!
 failed!
invoke-rc.d: initscript postgresql-8.4, action "stop" failed.
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping PostgreSQL 8.4 database server: mainError: pid file is invalid, please 
manually kill the stale server process. ... failed!
 failed!
invoke-rc.d: initscript postgresql-8.4, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/postgresql-8.4_8.4.1-1_amd64.deb 
(--unpack):
 subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/postgresql-8.4_8.4.1-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:


The installed versions:

$ LC_ALL=POSIX COLUMNS=115 dpkg -l "postgres*"|grep ^ii
ii  postgresql             8.4.1-1                object-relational SQL 
database (supported version)
ii  postgresql-8.3         8.3.8-1                object-relational SQL 
database, version 8.3 server
ii  postgresql-8.4         8.4.0-2                object-relational SQL 
database, version 8.4 server
ii  postgresql-client-8.3  8.3.8-1                front-end programs for 
PostgreSQL 8.3
ii  postgresql-client-8.4  8.4.1-1                front-end programs for 
PostgreSQL 8.4
ii  postgresql-client-comm 101                    manager for multiple 
PostgreSQL client versions
ii  postgresql-common      101                    PostgreSQL database-cluster 
manager


Regards
Marco

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-matroxfb (SMP w/1 CPU core)
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/dash

Versions of packages postgresql-8.4 depends on:
ii  libc6                    2.10.1-5        GNU C Library: Shared libraries
ii  libcomerr2               1.41.9-1        common error description library
ii  libgssapi-krb5-2         1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k
ii  libkrb5-3                1.7dfsg~beta3-1 MIT Kerberos runtime libraries
ii  libldap-2.4-2            2.4.17-1        OpenLDAP libraries
ii  libpam0g                 1.1.0-4         Pluggable Authentication Modules l
ii  libpq5                   8.4.1-1         PostgreSQL C client library
ii  libssl0.9.8              0.9.8k-5        SSL shared libraries
ii  libxml2                  2.7.6.dfsg-1    GNOME XML library
ii  locales                  2.10.1-5        GNU C Library: National Language (
ii  postgresql-client-8.4    8.4.1-1         front-end programs for PostgreSQL 
ii  postgresql-common        101             PostgreSQL database-cluster manage
ii  ssl-cert                 1.0.24          simple debconf wrapper for OpenSSL
ii  tzdata                   2009q-2         time zone and daylight-saving time

postgresql-8.4 recommends no packages.

Versions of packages postgresql-8.4 suggests:
ii  pidentd [ident-server]      3.0.19.ds1-5 TCP/IP IDENT protocol server with 

-- no debconf information



--- End Message ---
--- Begin Message ---
Hello Marco,

I'm cleaning up old PostgreSQL bug reports, and found your's:

Marco Herrn [2009-11-14 10:40 +0100]:
> Preparing to replace postgresql-8.4 8.4.0-2 (using 
> .../postgresql-8.4_8.4.1-1_amd64.deb) ...
> Stopping PostgreSQL 8.4 database server: mainError: pid file is invalid, 
> please manually kill the stale server process. ... failed!
>  failed!

I do not want to change the behaviour of this. If there is a stale
postmaster process running, I'd rather not change the package
underneath it until it gets cleaned up manually. It seems something
damaged the pid file, or you manually started the postmaster process
in an odd way?

Closing report, as this is not a general problem, and the package is
meant to fail early in such cases.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

--- End Message ---

Reply via email to