LINUX.ORG.RU

[gentoo]libpq file collisions

 


0

0

Пытаюсь установить postgresql, он тянет за собой libpq.

А libpq собирается, но не устанавливается

>>> Failed to install dev-db/libpq-8.1.11, Log file:

>>>  '/var/tmp/portage/dev-db/libpq-8.1.11/temp/build.log'

 * Messages for package dev-db/libpq-8.1.11:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /usr/share/postgresql/pg_service-4.conf.sample
 *      /usr/share/locale/zh_CN/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/zh_CN/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/de/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/de/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/tr/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/tr/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/sv/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/sv/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/zh_TW/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/zh_TW/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/sl/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/sl/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/ru/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/ru/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/af/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/ro/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/hr/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/sk/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/ko/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/ko/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/cs/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/cs/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/es/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/es/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/pt_BR/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/pt_BR/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/nb/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/it/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/pl/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/pl/LC_MESSAGES/pg_config.mo
 *      /usr/share/locale/fr/LC_MESSAGES/libpq-4.mo
 *      /usr/share/locale/fr/LC_MESSAGES/pg_config.mo
 *      /usr/share/doc/libpq-8.1.11/README.bz2
 *      /usr/share/doc/libpq-8.1.11/HISTORY.bz2
 *      /usr/lib/libpq.so.4.1
 *      /usr/lib/libpq-4.a
 *      /usr/lib/libpq.so
 *      /usr/lib/libpq.a
 *      /usr/lib/libpq.so.4
 *      /usr/include/libpq-fe.h
 *      /usr/include/postgres_ext.h
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'dev-db/libpq-8.1.11' merged despite file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

Подскажите пожалуйста, как решить данную проблему? libpq не установлен, но его файлы почему-то находятся в системе.

★★★★★

Удалил все файлы вручную, проблема решена.

Правда непонятно каким образом это получилось.

edigaryev ★★★★★
() автор топика
Ответ на: комментарий от dhameoelin

Вроде как, коллизия получается, когда файлы принадлежат еще какому-то пакету.

2edigaryev, а не поглядел, каким пакетам принадлежали эти файлы?

VoofT
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.