Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2014 14:56:04 -0500
From:      Thomas Hoffmann <trh411@gmail.com>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Cc:        "J. W. Ballantine" <jwb@hera.homer.att.com>
Subject:   Re: docbook-sgml install failure
Message-ID:  <CAB7-od=yRzA8qnk_7iKJZAyd2BTYpALRB63L9g5dUN8E=6oNPQ@mail.gmail.com>
In-Reply-To: <201402241928.s1OJSmYA007292@hera.homer.att.com>
References:  <201402241928.s1OJSmYA007292@hera.homer.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 24, 2014 at 2:28 PM, J. W. Ballantine <jwb@hera.homer.att.com>wrote:

> ----------  In Response to your message -------------
>
> >  Date:  Mon, 24 Feb 2014 14:13:27 -0500
> >  To:  James Ballantine <jwb@hera.homer.att.com>
> >  From:  Thomas Hoffmann <trh411@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@hera.homer.att.com>wr
> ote:
> >
> >  >
> >  > On Feb 24, 2014, at 2:02 PM, James Ballantine <jwb@hera.homer.att.com
> >
> >  > wrote:
> >  >
> >  >
> >  > On Feb 24, 2014, at 1:55 PM, Thomas Hoffmann <trh411@gmail.com>
> wrote:
> >  >
> >  > On Mon, Feb 24, 2014 at 1:04 PM, J. W. Ballantine <
> jwb@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">&lt;<a href="mailto:
> jwb@
> hera.homer.att.com" target="_blank">jwb@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"><div style="word-wrap:break-word"><div><div class="h5"><br>
> >  <div><div>On Feb 24, 2014, at 2:02 PM, James Ballantine &lt;<a
> href="mailto:
> jwb@hera.homer.att.com" target="_blank">jwb@hera.homer.att.com</a>&gt;
> 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 &lt;<a
> href="mail
> to:trh411@gmail.com" target="_blank">trh411@gmail.com</a>&gt;
> 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">&lt;<a hre
> f="mailto:jwb@hera.homer.att.com" target="_blank">jwb@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&#39;m trying to update my ports to FB10, and the process is
> hanging<br>
> >  with docbook-sgml. &nbsp;It fails with:<br>
> >  <br>
> >  &nbsp;xmlcatmgr: entry already exists for
> `/usr/local/share/sgml/docbook/cat
> alog&#39; of type `CATALOG&#39;<br>
> >  &nbsp;pkg-static: POST-INSTALL script failed<br>
> >  &nbsp;Installing docbook-sgml-4.5...pkg-static: docbook-sgml-4.5
> conflicts w
> ith<br>
> >  &nbsp;docbook-4.2 (installs files into the same place).
> &nbsp;Problematic fi
> le:<br>
> >  &nbsp;/usr/local/share/sgml/docbook/4.2/ChangeLog<br>
> >  &nbsp;*** Error code 70<br>
> >  <br>
> >  I did a deinstall and reinstall for all textproc/docbook-* and that
> didn&#39
> ;t<br>
> >  help. &nbsp;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&rsquo;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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB7-od=yRzA8qnk_7iKJZAyd2BTYpALRB63L9g5dUN8E=6oNPQ>