> * Stopping PostgreSQL 9.1 database server * Error:
/var/lib/postgresql/9.1/main is not accessible or does not exist
It looks like you manually removed /var/lib/postgresql/ but not the
corresponding files in /etc/postgresql/ ? Can you please show me the
output of "pg_lsclusters"?
** Changed in: postgresql-9.1 (Ubuntu)
Status: New => Incomplete
** Summary changed:
- crash after this command: apt-get purge postgresql-9.1-- package
postgresql-9.1 9.1.9-1ubuntu1 failed to install/upgrade: sub-processo script
pre-removal instalado retornou estado de saída de erro 2
+ postgresql-9.1 fails to remove: Error: /var/lib/postgresql/9.1/main is not
accessible or does not exist
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to postgresql-9.1 in Ubuntu.
https://bugs.launchpad.net/bugs/1207920
Title:
postgresql-9.1 fails to remove: Error: /var/lib/postgresql/9.1/main is
not accessible or does not exist
Status in “postgresql-9.1” package in Ubuntu:
Incomplete
Bug description:
root@b7gray:~# apt-get purge postgresql-9.1
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os pacotes a seguir serão REMOVIDOS:
postgresql-9.1*
0 pacotes atualizados, 0 pacotes novos instalados, 1 a serem removidos e 0
não atualizados.
1 pacotes não totalmente instalados ou removidos.
Depois desta operação, 11,7 MB de espaço em disco serão liberados.
Você quer continuar [S/n]? s
(Lendo banco de dados ... 339456 ficheiros e directórios actualmente
instalados.)
Removendo postgresql-9.1 ...
* Stopping PostgreSQL 9.1 database server
* Error: /var/lib/postgresql/9.1/main
is not accessible or does not exist
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: erro ao processar postgresql-9.1 (--purge):
sub-processo script pre-removal instalado retornou estado de saída de erro 1
Nenhum relatório do apport gravado porque MaxReports já foi atingido
Erros
foram encontrados durante o processamento de:
postgresql-9.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 13.04
Package: postgresql-9.1 9.1.9-1ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
Uname: Linux 3.8.0-26-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.9.2-0ubuntu8.1
AptOrdering:
postgresql-9.1: Purge
postgresql-client-9.1: Purge
Architecture: amd64
Date: Fri Aug 2 19:10:06 2013
DpkgTerminalLog:
Removendo postgresql-9.1 ...
/var/lib/dpkg/info/postgresql-9.1.prerm: 9: .: Can't open
/usr/share/postgresql-common/maintscripts-functions
dpkg: erro ao processar postgresql-9.1 (--purge):
sub-processo script pre-removal instalado retornou estado de saída de erro 2
DuplicateSignature: package:postgresql-9.1:9.1.9-1ubuntu1:sub-processo script
pre-removal instalado retornou estado de saída de erro 2
ErrorMessage: sub-processo script pre-removal instalado retornou estado de
saída de erro 2
InstallationDate: Installed on 2013-06-19 (44 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: postgresql-9.1
Title: package postgresql-9.1 9.1.9-1ubuntu1 failed to install/upgrade:
sub-processo script pre-removal instalado retornou estado de saída de erro 2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-9.1/+bug/1207920/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp