The reason this is happening is because the function `_link_manpages` in
the file `/usr/share/postgresql-common/maintscripts-functions` searches
for the string "auto mode" in the output of the command `update-
alternatives --display postmaster.1.gz 2> /dev/null` however (since both
mine and his system are using the german locale the string that is
printed by `update-alternatives` is actually "Auto-Modus".

I can't test this anymore (applied the workaround given below already),
but the solution would probably be to change the problematic command to
`env LANGUAGE=C update-alternatives --display postmaster.1.gz 2>
/dev/null`.

WORKAROUND:
 * Run this command: sudo update-alternatives --remove postmaster.1.gz 
/usr/share/postgresql/9.1/man/man1/postmaster.1.gz
 * Retry the upgrade using: sudo aptitude safe-upgrade

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1293596

Title:
  package postgresql-client-9.3 9.3.3-1bzr2 failed to install/upgrade:
  ErrorMessage: Unterprozess installiertes post-installation-Skript gab
  den Fehlerwert 2 zurück

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to