docbook-sgml install failure

Thomas Hoffmann trh411 at gmail.com
Mon Feb 24 19:13:28 UTC 2014


On Mon, Feb 24, 2014 at 2:08 PM, James Ballantine <jwb at hera.homer.att.com>wrote:

>
> On Feb 24, 2014, at 2:02 PM, James Ballantine <jwb at hera.homer.att.com>
> wrote:
>
>
> On Feb 24, 2014, at 1:55 PM, Thomas Hoffmann <trh411 at gmail.com> wrote:
>
> On Mon, Feb 24, 2014 at 1:04 PM, J. W. Ballantine <jwb at hera.homer.att.com>wrote:
>
>> Hi,
>>
>> I'm trying to update my ports to FB10, and the process is hanging
>> with docbook-sgml.  It fails with:
>>
>>  xmlcatmgr: entry already exists for
>> `/usr/local/share/sgml/docbook/catalog' of type `CATALOG'
>>  pkg-static: POST-INSTALL script failed
>>  Installing docbook-sgml-4.5...pkg-static: docbook-sgml-4.5 conflicts with
>>  docbook-4.2 (installs files into the same place).  Problematic file:
>>  /usr/local/share/sgml/docbook/4.2/ChangeLog
>>  *** Error code 70
>>
>> I did a deinstall and reinstall for all textproc/docbook-* and that didn't
>> help.  I also tried export FORCE_PKG_REGISTER=1, also with no sucess.
>> This failure is from a portmaster -G x11-servers/xorg-servers command.
>>
>> What do I need to do to get docbook-sgml to install so I can finish the
>> update?
>>
>> Thanks
>>
>> Jim Ballantine
>>
>
> Did you see the 20140209 entry in /usr/ports/UPDATING that affects
> textproc/docbook*?
>
> -Tom
>
>
> I believe you mean 20140219, not 20140209, and no I hadn't.
>
> Well follow it.
>
> Thanks
>
> Jim
>
>
> OK, I tried the pkg delete from 20140219 and the reply was 4 no such
> package installed.
> When I tried and install from textproc/docbook-sgml , it failed with the
> same conflicts with
> docbook-4.2 error.
>
> Jim
>
> Looks like you don not have the most recent version of
/usr/ports/UPDATING, which contained incorrect instructions in its first
iteration. You need to use:

pkg delete -f docbook-xml\* docbook-sk\* docbook\[2345\]\?\?-\* docbook-4\*

to delete the docbook packages. Note the escape characters.


More information about the freebsd-stable mailing list