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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to