понедельник, 29 октября 2012 г.

p5-File-Listing-6.04 conflicts with installed package(s): p5-libwww-5.837

При попытке обновления p5-libwww-5 на p5-libwww-6 может вылезти такая штука:
...
===> p5-libwww-6.04 depends on package: p5-Encode-Locale>=0 - found ===> p5-libwww-6.04 depends on package: p5-File-Listing>=6 - not found ===> Verifying install for p5-File-Listing>=6 in /usr/ports/sysutils/p5-File-Listing ===> p5-File-Listing-6.04 conflicts with installed package(s): p5-libwww-5.837 They install files into the same place. You may want to stop build with Ctrl + C. ===> License ART10 GPLv1 accepted by the user ===> p5-File-Listing-6.04 conflicts with installed package(s): p5-libwww-5.837 They will not build together. Please remove them first with pkg_delete(1).

Причём не имеет значения, как обновляли, через portmaster, portupgrade или простой cd /usr/ports/www/p5-libwww/ && make install clean

/usr/ports/UPDATING:
20110711:
AFFECTS: users of www/p5-libwww
AUTHOR: mandree@FreeBSD.org

portmaster cannot process the upgrade of www/p5-libwww from version
5 to version 6. To upgrade p5-libwww, use portupgrade instead, or
deinstall p5-libwww before reinstalling:

If you use portmaster:
# pkg_delete -f 'p5-libwww-5*' ; portmaster www/p5-libwww

If you use portupgrade, no special treatment is necessary.

Хотя portupgrade также не работает:
===>  p5-File-Listing-6.04 conflicts with installed package(s):
      p5-libwww-5.837

      They will not build together.
      Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/sysutils/p5-File-Listing.
*** Error code 1

Stop in /usr/ports/www/p5-libwww.
*** Error code 1

Stop in /usr/ports/www/p5-libwww.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20121029-60263-lnopwq-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=p5-libwww-5.837 UPGRADE_PORT_VER=5.837 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! www/p5-libwww (p5-libwww-5.837)       (unknown build error)

Решение - удалить и поставить p5-libwww, при этом конфликта больше не будет.
(cd /usr/ports/www/p5-libwww/; make deinstall; make reinstall clean)

Комментариев нет:

Отправить комментарий