Your message dated Mon, 24 Apr 2006 16:31:01 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#364597: postgresql-8.1: package update fails if server not 
running
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: postgresql-8.1
Version: 8.1.3-4
Severity: normal


Upgrading from postgresql-8.1 8.1.3-3 to 8.1.3-4 stops the server daemon:

,----[ desired case ]----
| Stopping PostgreSQL 8.1 database server: main.
| Unpacking replacement postgresql-8.1 ...
`----

If the server is not running, stopping the server fails, subsequently
causing the entire package installation to fail.

,----[ error case ]----
| Preparing to replace postgresql-8.1 8.1.3-3 (using 
.../postgresql-8.1_8.1.3-4_i386.deb) ...
| Stopping PostgreSQL 8.1 database server: maininvoke-rc.d: initscript 
postgresql-8.1, action "stop" failed.
| dpkg: warning - old pre-removal script returned error exit status 2
| dpkg - trying script from the new package instead ...
| Stopping PostgreSQL 8.1 database server: maininvoke-rc.d: initscript 
postgresql-8.1, action "stop" failed.
| dpkg: error processing 
/var/cache/apt/archives/postgresql-8.1_8.1.3-4_i386.deb (--unpack):
|  subprocess new pre-removal script returned error exit status 2
| Starting PostgreSQL 8.1 database server: main.
`----

Obviously, in case of a running daemon, it is a good idea to shut it
down before an upgrade.

However, if it hadn't been running in the first place, failing to stop
it should not be an error preventing the package upgrade.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (250, 'unstable'), (100, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages postgresql-8.1 depends on:
ii  libc6         2.3.6-7                    GNU C Library: Shared libraries
ii  libcomerr2    1.38+1.39-WIP-2005.12.31-1 common error description library
ii  libkrb53      1.4.3-6                    MIT Kerberos runtime libraries
ii  libpam0g      0.79-3.1                   Pluggable Authentication Modules l
ii  libpq4        8.1.3-4                    PostgreSQL C client library
ii  libssl0.9.8   0.9.8a-8                   SSL shared libraries
ii  postgresql-cl 8.1.3-4                    front-end programs for PostgreSQL 
ii  postgresql-co 49                         manager for PostgreSQL database cl

postgresql-8.1 recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Package: postgresql-common
Version: 50

Hi,

Hans Ulrich Niedermann [2006-04-24 14:55 +0200]:
> | Stopping PostgreSQL 8.1 database server: maininvoke-rc.d: initscript 
> postgresql-8.1, action "stop" failed.
> | dpkg: error processing 
> /var/cache/apt/archives/postgresql-8.1_8.1.3-4_i386.deb (--unpack):
> |  subprocess new pre-removal script returned error exit status 2

This has been fixed in the latest postgresql-common.

Thanks,

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

In a world without walls and fences, who needs Windows and Gates?

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to