docbook-sgml install failure

Thomas Hoffmann trh411 at gmail.com
Mon Feb 24 19:56:05 UTC 2014


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

> ----------  In Response to your message -------------
>
> >  Date:  Mon, 24 Feb 2014 14:13:27 -0500
> >  To:  James Ballantine <jwb at hera.homer.att.com>
> >  From:  Thomas Hoffmann <trh411 at gmail.com>
> >  Subject:  Re: docbook-sgml install failure
> >
> >  --047d7b3439402b061304f32bc499
> >  Content-Type: text/plain; charset=ISO-8859-1
> >
> >  On Mon, Feb 24, 2014 at 2:08 PM, James Ballantine <
> jwb at hera.homer.att.com>wr
> ote:
> >
> >  >
> >  > 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 wit
> h
> >  >>  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.
> >
> >  --047d7b3439402b061304f32bc499
> >  Content-Type: text/html; charset=ISO-8859-1
> >
> >  <div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On
> Mon, Feb
>  24, 2014 at 2:08 PM, James Ballantine <span dir="ltr"><<a href="mailto:
> jwb@
> hera.homer.att.com" target="_blank">jwb at hera.homer.att.com</a>></span>
> wrote
> :<br>
> >  <blockquote class="gmail_quote" style="margin:0px 0px 0px
> 0.8ex;border-left-
>
> width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-le
> ft:1ex"><div style="word-wrap:break-word"><div><div class="h5"><br>
> >  <div><div>On Feb 24, 2014, at 2:02 PM, James Ballantine <<a
> href="mailto:
> jwb at hera.homer.att.com" target="_blank">jwb at hera.homer.att.com</a>>
> wrote:</
> div><br><blockquote type="cite"><div style="word-wrap:break-word">
> >  <br><div><div>On Feb 24, 2014, at 1:55 PM, Thomas Hoffmann <<a
> href="mail
> to:trh411 at gmail.com" target="_blank">trh411 at gmail.com</a>>
> wrote:</div><br><
> blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div
> class="gmai
> l_quote">
> >  On Mon, Feb 24, 2014 at 1:04 PM, J. W. Ballantine <span
> dir="ltr"><<a hre
> f="mailto:jwb at hera.homer.att.com" target="_blank">jwb at hera.homer.att.com
> </a>&gt
> ;</span> wrote:<br>
> >  <blockquote class="gmail_quote" style="margin:0px 0px 0px
> 0.8ex;border-left-
>
> width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-le
> ft:1ex">Hi,<br>
> >  <br>
> >  I'm trying to update my ports to FB10, and the process is
> hanging<br>
> >  with docbook-sgml.  It fails with:<br>
> >  <br>
> >   xmlcatmgr: entry already exists for
> `/usr/local/share/sgml/docbook/cat
> alog' of type `CATALOG'<br>
> >   pkg-static: POST-INSTALL script failed<br>
> >   Installing docbook-sgml-4.5...pkg-static: docbook-sgml-4.5
> conflicts w
> ith<br>
> >   docbook-4.2 (installs files into the same place).
>  Problematic fi
> le:<br>
> >   /usr/local/share/sgml/docbook/4.2/ChangeLog<br>
> >   *** Error code 70<br>
> >  <br>
> >  I did a deinstall and reinstall for all textproc/docbook-* and that
> didn&#39
> ;t<br>
> >  help.  I also tried export FORCE_PKG_REGISTER=1, also with no
> sucess.<b
> r>
> >  This failure is from a portmaster -G x11-servers/xorg-servers
> command.<br>
> >  <br>
> >  What do I need to do to get docbook-sgml to install so I can finish
> the<br>
> >  update?<br>
> >  <br>
> >  Thanks<br>
> >  <br>
> >  Jim Ballantine<br></blockquote><div><br></div><div>Did you see the
> 20140209
> entry in /usr/ports/UPDATING that affects
> textproc/docbook*?</div><div><br></di
> v><div>-Tom</div></div><br></div></div>
> >  </blockquote></div><br><div>I believe you mean 20140219, not 20140209,
> and n
> o I hadn’t.</div><div><br></div><div>Well follow
> it.</div><div><br></div>
> <div>Thanks</div><div><br></div><div>Jim</div></div></blockquote><br></div>
> >  </div></div><div>OK, I tried the pkg delete from 20140219 and the reply
> was
> 4 no such package installed.</div><div>When I tried and install from
> textproc/d
> ocbook-sgml , it failed with the same conflicts with</div><div>docbook-4.2
> erro
> r.</div>
> >  <div><br></div><div>Jim</div><br></div></blockquote><div>Looks like you
> don
> not have the most recent version of /usr/ports/UPDATING, which contained
> incorr
> ect instructions in its first iteration. You need to use:</div><div>
> >  <br></div></div>pkg delete -f docbook-xml\* docbook-sk\*
> docbook\[2345\]\?\?
> -\* docbook-4\*<br></div><div class="gmail_extra"><br></div><div
> class="gmail_e
> xtra">to delete the docbook packages. Note the escape characters.</div>
> >  </div>
> >
> >  --047d7b3439402b061304f32bc499--
> >
>
> I tried it with the escape char, same result:
>
>  # pkg_delete -f docbook-xml\* docbook-sk\* docbook\[2345\]\?\?-\*
> docbook-4\*
> pkg_delete: no such package 'docbook-xml*' installed
> pkg_delete: no such package 'docbook-sk*' installed
> pkg_delete: no such package 'docbook[2345]??-*' installed
> pkg_delete: no such package 'docbook-4*' installed
>
>
>
>
>                                                                 # pkg
> version
> | grep docbook
> docbook-4.1_4                      ?
> docbook-4.2                        ?
> docbook-4.3                        ?
> docbook-4.4_2                      ?
> docbook-4.5_2                      ?
> docbook-5.0_1                      ?
> docbook-3.1_4                      ?
> docbook-1.5                        =
> docbook-sk-4.1.2_4                 ?
> docbook-tdg-2.0.17                 =
> docbook-to-man-1.0_2               =
> docbook-xml-4.3                    ?
> docbook-xml-4.4_1                  ?
> docbook-xml-4.5                    ?
> docbook-xsd-1.0.b1                 =
> docbook-xsl-1.76.1_2               =
> docbook-xsl-ns-1.78.1_4            =
> dsssl-docbook-modular-1.79_1,1     =
>
> FWIW my UPDATING is from 02/19/141
>
>
> Jim
>

I can't explain why the command does not work for you. It works for me, but
I am using the new pkgng and do not even have access to the older
'pkg_delete' style commands to test with. You could always delete the
packages individually. Sorry, but that's all I got.

- Tom


More information about the freebsd-stable mailing list