← 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

 

We just had such a case in our data center on precise. That has a
backported postgresql-common 154 installed, postgresql-9.1 from precise,
and a backported p-9.3. Upgrading 9.3 after 9.1 works ok, as p-common's
_link_manpages() takes care of the transition in that direction. But
upgrading 9.1 after 9.3 fails because precise's postgresql-9.1 still
ships pg_basebackup.1.gz in the server package and alternative group.
But at that time -9.3 will already have transitioned it to the psql.1.gz
alternative group.

A quick workaround is

   sudo update-alternatives --remove psql.1.gz /usr/share/postgresql/9.3/man/man1/psql.1.gz
   sudo apt-get -f install

This will hold until you upgrade 9.3 and then 9.1 again, at which point
the same workaround will apply again.

** Changed in: postgresql-common (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: postgresql-common (Ubuntu)
    Milestone: None => ubuntu-15.02

-- 
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:
  In Progress

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

  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