[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postgresql 7.4.7-6 /debian unstable



drd -> debian-russian@lists.debian.org  @ Sat, 7 May 2005 09:09:11 +0400:

 d>   Сделал тут dist-upgrade и получил следующее:
 d> Setting up postgresql (7.4.7-6) ...
 d> Applying security update in database template0...
 d> dpkg: error processing postgresql (--configure):
 d>  subprocess post-installation script returned error exit status 1
 d> dpkg: dependency problems prevent configuration of postgresql-contrib:
 d>  postgresql-contrib depends on postgresql (>= 7.4); however:
 d>   Package postgresql is not configured yet.
 d> dpkg: error processing postgresql-contrib (--configure):
 d>  dependency problems - leaving unconfigured
 d> Errors were encountered while processing:
 d>  postgresql
 d>  postgresql-contrib
 d> E: Sub-process /usr/bin/dpkg returned an error code (1)

 d> Ну, решил, что раз такая фигня с этими пакетами, то надо их захолдить
 d> и не обновлять... Да не тут-то было - теперь при установке любого
 d> пакета вылезает постгрес с ошибками. Собственно, вопрос - откуда
 d> вызывает postinstall для этих пакетов и как этот вызов отменить?

Скрипт такой в /var/lib/dpkg/не/помню.  Вызывается при конфигурировании
тех пакетов, которые уже поставлены, но еще не сконфигурированы.  В него
можно залезть и объяснить ему, что надо все-таки завершиться с ненулевым
кодом.  Холдить пакеты уже поздно - ты их уже поставил.  Вот что более
вероятно - стоит таки внимательно отнестись к комментарию в
дистрибутивном pg_hba.conf на тему беспарольного доступа пользователя
postgres.  Возможно, проблема в этом.  Впрочем, postgresql несложно
поставить в позу, в которой он все равно не сможет нормально сапгрейдиться.

-- 
Artem Chuprina
RFC2822: <ran{}ran.pp.ru> Jabber: ran@jabber.ran.pp.ru

Не сломалось - не чини.



Reply to: