← 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 actually doesn't affect precise's postgresql-common itself. Newer
(i. e. backported) postgresql-X.Y versions also require a backported
postgresql-common, so instead this fix needs to land in vivid,
apt.postgresql.org, and whichever other backport sources people use.
I'll update https://launchpad.net/~pitti/+archive/ubuntu/postgresql too.

** Description changed:

  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)

** Changed in: postgresql-common (Ubuntu Precise)
       Status: New => Invalid

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

-- 
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 Committed
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 Committed

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