← Back to team overview

desktop-packages team mailing list archive

[Bug 1357682] Re: package postgresql-client-9.3 9.3.5-0ubuntu0.14.04.1 failed to upgrade: alternative pg_basebackup.1.gz can't be slave of psql.1.gz

 

This bug was fixed in the package postgresql-common - 166bzr1

---------------
postgresql-common (166bzr1) vivid; urgency=medium

  [ Christoph Berg ]
  * pg_conftool: Fix 'remove' operation. Spotted by François Henry, merci!
    (Closes: #778243)
  * t/007_pg_conftool.t: Add pg_conftool tests.

  [ Martin Pitt ]
  * debian/maintscripts-functions: Avoid package installation failure of -9.1
    due to the pg_basebackup.1 alternative on systems which have both -9.1 and
    a later version installed in parallel. On those, pg_basebackup.1 will
    already be in the psql.1.gz group, thus -9.1 must not try to put it back
    into the postmaster.1.gz group. (LP: #1357682)
 -- Martin Pitt <martin.pitt@xxxxxxxxxx>   Mon, 16 Feb 2015 12:31:20 +0100

** Changed in: postgresql-common (Ubuntu Vivid)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to postgresql-common in Ubuntu.
https://bugs.launchpad.net/bugs/1357682

Title:
  package postgresql-client-9.3 9.3.5-0ubuntu0.14.04.1 failed to
  upgrade: alternative pg_basebackup.1.gz can't be slave of psql.1.gz

Status in postgresql-common package in Ubuntu:
  Fix Released
Status in postgresql-common source package in Precise:
  Invalid
Status in postgresql-common source package in Trusty:
  In Progress
Status in postgresql-common source package in Vivid:
  Fix Released

Bug description:
  Error while do-release-upgrade from 12.04 to 14.04

  SRU TEST CASE:
  # Run these commands in a precise schroot:
  apt-get install -y postgresql-9.1 man-db
  echo 'deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main' > /etc/apt/sources.list.d/pgdg.list
  apt-get update
  apt-get install -y --force-yes postgresql-9.4
  man pg_basebackup  # this should be for 9.4
  # this will fail with current postgresql-common (backport of 166), but ought to succeed with a fixed package
  dpkg-reconfigure postgresql-9.1
  man pg_basebackup  # this should still be for 9.4
  # after that, this should also succeed
  dpkg-reconfigure postgresql-9.4

  SRU FIX: https://alioth.debian.org/scm/loggerhead/pkg-postgresql
  /postgresql-common/trunk/revision/1591

  SRU REGRESSION POTENTIAL: Errors in the p-common maintainer script can
  potentially lead to complete installation failure of any
  postgresql-X.Y and postgresql-client-X.Y package. The postgresql-X.Y
  autopkgtests will cover this for one version, but for multiple
  versions in parallel this should be manually verified.

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: postgresql-client-9.3 9.3.5-0ubuntu0.14.04.1
  ProcVersionSignature: Ubuntu 3.8.0-29.42~precise1-generic 3.8.13.5
  Uname: Linux 3.8.0-29-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  Date: Sat Aug 16 11:41:04 2014
  DuplicateSignature: package:postgresql-client-9.3:9.3.5-0ubuntu0.14.04.1:ErrorMessage: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
  ErrorMessage: ErrorMessage: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
  InstallationDate: Installed on 2014-03-09 (159 days ago)
  InstallationMedia: Ubuntu-Server 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.2)
  SourcePackage: postgresql-9.3
  Title: package postgresql-client-9.3 9.3.5-0ubuntu0.14.04.1 failed to install/upgrade: ErrorMessage: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
  UpgradeStatus: Upgraded to trusty on 2014-08-16 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1357682/+subscriptions