Перейти к содержимому


[Ubuntu 12.04] PostgreSQL upd err


  • Закрытая тема Тема закрыта
Сообщений в теме: 3

#1 Ulquiorra

Ulquiorra

    4th Espada

  • Сообщений 1326
  • Торрентов 147
  • Длинный нос 2010
  • ГородLas Noches, Hueco Mundo

Отправлено 08 August 2014 - 12:52

Из последних пришедших обновлений не устанавливаются два вот этих:
При частичном обновлении - вот такая ошибка:

noviciate@workpc:~$ postgres --version
postgres (PostgreSQL) 9.1.13

noviciate@workpc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise

Кто-нибудь сталкивался?

#2 Ulquiorra

Ulquiorra

    4th Espada

  • Сообщений 1326
  • Торрентов 147
  • Длинный нос 2010
  • ГородLas Noches, Hueco Mundo

Отправлено 08 August 2014 - 14:07

подробности ошибки от первого из обновлений

installArchives() failed: (Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 259800 files and directories currently installed.)
Preparing to replace postgresql-9.1 9.1.13-0ubuntu0.12.04 (using .../postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb) ...
* Stopping PostgreSQL 9.1 database server		 * Use of uninitialized value $info{"pgdata"} in -d at /usr/bin/pg_ctlcluster line 331.
Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster line 332.
Error:  is not accessible or does not exist
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* Stopping PostgreSQL 9.1 database server		 * Use of uninitialized value $info{"pgdata"} in -d at /usr/bin/pg_ctlcluster line 331.
Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster line 332.
Error:  is not accessible or does not exist
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)

подробности ошибки от второго из обновлений

installArchives() failed: (Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 259800 files and directories currently installed.)
Preparing to replace postgresql-9.1 9.1.13-0ubuntu0.12.04 (using .../postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb) ...
* Stopping PostgreSQL 9.1 database server		 * Use of uninitialized value $info{"pgdata"} in -d at /usr/bin/pg_ctlcluster line 331.
Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster line 332.
Error:  is not accessible or does not exist
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* Stopping PostgreSQL 9.1 database server		 * Use of uninitialized value $info{"pgdata"} in -d at /usr/bin/pg_ctlcluster line 331.
Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster line 332.
Error:  is not accessible or does not exist
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: considering deconfiguration of postgresql-9.1, which would be broken by installation of postgresql-client-9.1 ...
dpkg: yes, will deconfigure postgresql-9.1 (broken by postgresql-client-9.1).
Preparing to replace postgresql-client-9.1 9.1.13-0ubuntu0.12.04 (using .../postgresql-client-9.1_9.1.14-0ubuntu0.12.04_amd64.deb) ...
De-configuring postgresql-9.1 ...
* Stopping PostgreSQL 9.1 database server		 * Use of uninitialized value $info{"pgdata"} in -d at /usr/bin/pg_ctlcluster line 331.
Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster line 332.
Error:  is not accessible or does not exist
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/postgresql-client-9.1_9.1.14-0ubuntu0.12.04_amd64.deb (--unpack):
subprocess installed pre-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/var/cache/apt/archives/postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb
/var/cache/apt/archives/postgresql-client-9.1_9.1.14-0ubuntu0.12.04_amd64.deb

общая ошибка на оба обновления

installArchives() failed: (Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 259800 files and directories currently installed.)
Preparing to replace postgresql-9.1 9.1.13-0ubuntu0.12.04 (using .../postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb) ...
* Stopping PostgreSQL 9.1 database server		 * Use of uninitialized value $info{"pgdata"} in -d at /usr/bin/pg_ctlcluster line 331.
Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster line 332.
Error:  is not accessible or does not exist
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* Stopping PostgreSQL 9.1 database server		 * Use of uninitialized value $info{"pgdata"} in -d at /usr/bin/pg_ctlcluster line 331.
Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster line 332.
Error:  is not accessible or does not exist
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
dpkg: considering deconfiguration of postgresql-9.1, which would be broken by installation of postgresql-client-9.1 ...
dpkg: yes, will deconfigure postgresql-9.1 (broken by postgresql-client-9.1).
Preparing to replace postgresql-client-9.1 9.1.13-0ubuntu0.12.04 (using .../postgresql-client-9.1_9.1.14-0ubuntu0.12.04_amd64.deb) ...
De-configuring postgresql-9.1 ...
* Stopping PostgreSQL 9.1 database server		 * Use of uninitialized value $info{"pgdata"} in -d at /usr/bin/pg_ctlcluster line 331.
Use of uninitialized value $info{"pgdata"} in concatenation (.) or string at /usr/bin/pg_ctlcluster line 332.
Error:  is not accessible or does not exist
[fail]
invoke-rc.d: initscript postgresql, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/postgresql-client-9.1_9.1.14-0ubuntu0.12.04_amd64.deb (--unpack):
subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/postgresql-9.1_9.1.14-0ubuntu0.12.04_amd64.deb
/var/cache/apt/archives/postgresql-client-9.1_9.1.14-0ubuntu0.12.04_amd64.deb
Error in function:


#3 ZLOFENIX

ZLOFENIX

    Администратор

  • Сообщений 1712
  • Торрентов 4
  • Лицо руководства 2010

Отправлено 08 August 2014 - 19:20

Выглядит как косяк в скрипте, подожди обновки или поправь руками.

#4 Ulquiorra

Ulquiorra

    4th Espada

  • Сообщений 1326
  • Торрентов 147
  • Длинный нос 2010
  • ГородLas Noches, Hueco Mundo

Отправлено 08 August 2014 - 23:41

пожать бы горло разрабам постгреса ..
два часа пытался удалить его из системы - мертвой хваткой держится, что и как не удаляй
в итоге тридцать третьей левой пяткой накатил 9.3 версию поверх старой 9.1, пересобрал конфиги, сделал авторемув\апдейт\миграцию - вроде пашет без ошибок




Количество пользователей, читающих эту тему: 1

0 пользователей, 1 гостей, 0 анонимных