Tentativa de instalar o postgre [RESOLVIDO]

13. Re: Tentativa de instalar o postgre [RESOLVIDO]

Raimundo Alves Portela
rai3mb

(usa Outra)

Enviado em 03/09/2012 - 00:01h

jessicais19 escreveu:

Tentei. porém, nada.


Tentativa relacionada a qual orientação?




  


14. Re: Tentativa de instalar o postgre [RESOLVIDO]

jessica lais dos santos arauno
jessicais19

(usa Ubuntu)

Enviado em 03/09/2012 - 00:03h

A todas as orientações aqui postadas.


15. Postgresql

jessica lais dos santos arauno
jessicais19

(usa Ubuntu)

Enviado em 03/09/2012 - 00:05h

tail -100 /var/log/syslog

Não funcionou

# df -h

E sim há espaço no disco.





16. Re: Tentativa de instalar o postgre [RESOLVIDO]

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 03/09/2012 - 00:06h

seguinte
posta ai o seu sources.list só por curiosidade




17. Postgresql

jessica lais dos santos arauno
jessicais19

(usa Ubuntu)

Enviado em 03/09/2012 - 00:10h

sources.list

Comando não encontrado


18. Re: Tentativa de instalar o postgre [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/09/2012 - 00:13h

jessicais19 escreveu:

sources.list

Comando não encontrado


# cat /etc/apt/sources.list

Copie e resultado listado abaixo do comando


19. Postgresql

jessica lais dos santos arauno
jessicais19

(usa Ubuntu)

Enviado em 03/09/2012 - 00:15h

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu precise universe
deb-src http://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates universe
deb-src http://archive.ubuntu.com/ubuntu precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu precise multiverse
deb-src http://archive.ubuntu.com/ubuntu precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb-src http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu oneiric main
# deb-src http://extras.ubuntu.com/ubuntu oneiric main



20. Re: Tentativa de instalar o postgre [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/09/2012 - 00:24h

É... usei seu sources.list aqui, e instalei o postgres 9.1 sem problemas.


21. Postgresql

jessica lais dos santos arauno
jessicais19

(usa Ubuntu)

Enviado em 03/09/2012 - 00:26h

Mas aqui está dando problema :(


22. Re: Tentativa de instalar o postgre [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/09/2012 - 00:51h

Roda esse comando.

# dpkg -l | grep postgresql

Cole abaixo se houver resultado.


23. postgresql

jessica lais dos santos arauno
jessicais19

(usa Ubuntu)

Enviado em 03/09/2012 - 15:15h

ii gnustep-dl2-postgresql-adaptor 0.12.0-8 gnustep-dl2 adaptor to connect to PostgreSQL
iU postgresql 9.1+135~precise object-relational SQL database (supported version)
iU postgresql-9.1 9.1.5-0ubuntu12.04 object-relational SQL database, version 9.1 server
ii postgresql-client 9.1+135~precise front-end programs for PostgreSQL (supported version)
ii postgresql-client-9.1 9.1.5-0ubuntu12.04 front-end programs for PostgreSQL 9.1
ii postgresql-client-common 135~precise manager for multiple PostgreSQL client versions
iF postgresql-common 135~precise PostgreSQL database-cluster manager



24. Re: Tentativa de instalar o postgre [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/09/2012 - 15:59h

jessicais19 escreveu:

A resposta foi:

groupadd: não foi possível bloquear /etc/group; tente mais tarde.
adduser: '/usr/sbin/groupadd -g 143 postgres' retornou código de erro 10. Saindo.
dpkg: erro processando postgresql-common (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 1
Nenhum relatório apport escrito pois MaxReports já foi atingido
Erros foram encontrados durante o processamento de:
postgresql-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
A instalação de um pacote falhou. Tentando recuperar:
Configurando postgresql-common (135~precise) ...
groupadd: não foi possível bloquear /etc/group; tente mais tarde.
adduser: '/usr/sbin/groupadd -g 143 postgres' retornou código de erro 10. Saindo.
dpkg: erro processando postgresql-common (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 1
Erros foram encontrados durante o processamento de:
postgresql-common




jessicais19 escreveu:

ii gnustep-dl2-postgresql-adaptor 0.12.0-8 gnustep-dl2 adaptor to connect to PostgreSQL
iU postgresql 9.1+135~precise object-relational SQL database (supported version)
iU postgresql-9.1 9.1.5-0ubuntu12.04 object-relational SQL database, version 9.1 server
ii postgresql-client 9.1+135~precise front-end programs for PostgreSQL (supported version)
ii postgresql-client-9.1 9.1.5-0ubuntu12.04 front-end programs for PostgreSQL 9.1
ii postgresql-client-common 135~precise manager for multiple PostgreSQL client versions
iF postgresql-common 135~precise PostgreSQL database-cluster manager


Ele esta instalado, mas não configurado(houve erro), então experimente:

$ sudo su -
# aptitude purge postgresql-9.1
# aptitude clean ; aptitude update
# aptitude install postgresql-9.1








Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts