Debian Bug report logs - #364446
postgresql-8.1: upgrade fails if server is not running

version graph

Package: postgresql-8.1; Maintainer for postgresql-8.1 is (unknown);

Reported by: Martin Kourim <martink@hkfree.org>

Date: Sun, 23 Apr 2006 14:48:24 UTC

Severity: normal

Found in version postgresql-8.1/8.1.3-4

Fixed in version postgresql-common/50

Done: Martin Pitt <mpitt@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Martin Pitt <mpitt@debian.org>:
Bug#364446; Package postgresql-8.1. (full text, mbox, link).


Acknowledgement sent to Martin Kourim <martink@hkfree.org>:
New Bug report received and forwarded. Copy sent to Martin Pitt <mpitt@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Martin Kourim <martink@hkfree.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: postgresql-8.1: upgrade fails if server is not running
Date: Sun, 23 Apr 2006 16:38:40 +0200
Package: postgresql-8.1
Version: 8.1.3-4
Severity: normal

Upgrading from 8.1.3-3 to 8.1.3-4 fails if the server is not running:

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
/mnt/data3/apt/apt-archives/postgresql-8.1_8.1.3-4_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
 Errors were encountered while processing:
  /mnt/data3/apt/apt-archives/postgresql-8.1_8.1.3-4_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:


After starting postgresql, everything went OK:

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: main.
Unpacking replacement postgresql-8.1 ...
Setting up postgresql-8.1 (8.1.3-4) ...

Thanks,
Martin Kourim


-- System Information:
Debian Release: testing/unstable
  APT prefers testing-proposed-updates
  APT policy: (990, 'testing-proposed-updates'), (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-3-k7
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)

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



Reply sent to Martin Pitt <mpitt@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Martin Kourim <martink@hkfree.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #10 received at 364446-done@bugs.debian.org (full text, mbox, reply):

From: Martin Pitt <mpitt@debian.org>
To: 364446-done@bugs.debian.org
Subject: Re: Bug#364446: postgresql-8.1: upgrade fails if server is not running
Date: Sun, 23 Apr 2006 17:36:14 +0200
[Message part 1 (text/plain, inline)]
Package: postgresql-common
Version: 50

Hi Martin,

Martin Kourim [2006-04-23 16:38 +0200]:
> Upgrading from 8.1.3-3 to 8.1.3-4 fails if the server is not running:

This has been fixed in Version 50 of postgresql-common.

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?
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 10 Aug 2008 14:57:09 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 20:58:25 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.