package postgresql-9.1 9.1.9-0ubuntu12.04 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 127

Bug #1186547 reported by Jose Carlos P Machado
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postgresql-9.1 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Configuring postgresql.conf to use port 5433...
update-alternatives: a usar /usr/share/postgresql/9.1/man/man1/postmaster.1.gz para disponibilizar /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) em modo automático.
/etc/init.d/postgresql: 18: /etc/init.d/postgresql: /usr/share/postgresql-common/init.d-functions[]: not found
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: erro processando postgresql-9.1 (--configure):
 sub-processo script post-installation instalado retornou estado de saída de erro 127
dpkg: problemas de dependência impedem a configuração de postgresql:
 postgresql depende de postgresql-9.1; porém:
  Pacote postgresql-9.1 não está configurado ainda.
dpkg: erro processando postgresql (--configure):
 problemas de dependência - deixando desconfigurado
Nenhum relatório apport escrito pois a mensagem de erro indica que é um erro de seguimento de um erro anterior.
                               Erros foram encontrados durante o processamento de:
 postgresql-9.1
 postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: postgresql-9.1 9.1.9-0ubuntu12.04
ProcVersionSignature: Ubuntu 3.2.0-45.70-generic 3.2.44
Uname: Linux 3.2.0-45-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.2
AptOrdering:
 postgresql-9.1: Install
 postgresql: Install
 postgresql-9.1: Configure
 postgresql: Configure
Architecture: amd64
Date: Sat Jun 1 10:14:21 2013
DpkgHistoryLog:
 Start-Date: 2013-06-01 10:14:04
 Commandline: apt-get install postgresql
 Install: postgresql-9.1:amd64 (9.1.9-0ubuntu12.04, automatic), postgresql:amd64 (9.1+129ubuntu1)
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 127
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
SourcePackage: postgresql-9.1
Title: package postgresql-9.1 9.1.9-0ubuntu12.04 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 127
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jose Carlos P Machado (jcarlospmachado) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

> /etc/init.d/postgresql: 18: /etc/init.d/postgresql: /usr/share/postgresql-common/init.d-functions[]: not found

This is not what the original /etc/init.d/postgresql does. Did you modify the file? Please attach your current version.

Changed in postgresql-9.1 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for postgresql-9.1 (Ubuntu) because there has been no activity for 60 days.]

Changed in postgresql-9.1 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.