Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Feb 2004 11:09:16 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: Issues when updating ports 
Message-ID:  <20040205190917.06F895D07@ptavv.es.net>
In-Reply-To: Message from Joe Marcus Clarke <marcus@marcuscom.com>  of "Thu, 05 Feb 2004 14:03:13 EST." <1076007793.751.52.camel@gyros> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Joe Marcus Clarke <marcus@marcuscom.com>
> Date: Thu, 05 Feb 2004 14:03:13 -0500
> 
> 
> --=-SWug/pCfndVAqBCnMGzY
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
> 
> On Thu, 2004-02-05 at 13:52, Kevin Oberman wrote:
> > I was doing the massive port upgrade for post libkse as libpthread. The
> > reinstall of gtk failed because of a file installed by gucharmap-gnome,
> > so I deleted the gucharmap-gnome package and installed gtk. So far, so
> > good.
> >=20
> > Then I tried to re-install gucharmap-gnome. (portupgrade -RN gucharmap-gn=
> ome)
> > The attempt to re-install failed for docbook-xsl with the error:
> > pkg_delete: '/usr/local/share/xsl/docbook/catalog' fails original MD5 che=
> cksum - deleted anyway.
> > pkg_delete: unable to completely remove directory '/usr/local/share/xml/d=
> ocbook'pkg_delete: couldn't entirely delete package (perhaps the packing li=
> st is
> > incorrectly specified?)
> > xmlcatmgr: enabling compatibility mode; removing ALL matching entries
> > [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 428 packages=
>  found (-1 +0) (...) done]
> > --->  Installing the new version via the port
> > =3D=3D=3D>  Installing for docbook-xsl-1.63.0_1
> > =3D=3D=3D>   docbook-xsl-1.63.0_1 depends on file: /usr/local/share/xml/d=
> ocbook/4.2/catalog.xml - not found
> > =3D=3D=3D>    Verifying reinstall for /usr/local/share/xml/docbook/4.2/ca=
> talog.xml in /usr/ports/textproc/docbook-xml
> > =3D=3D=3D>  Installing for docbook-xml-4.2_1
> > =3D=3D=3D>   docbook-xml-4.2_1 depends on file: /usr/local/bin/xmlcatmgr =
> - found
> > =3D=3D=3D>   Generating temporary packing list
> > for file in `unzip -l /usr/ports/distfiles/docbook-xml-4.2.zip|/usr/bin/a=
> wk '/:[0-9].*[^\/]$/{print $4}'`; do  install  -o root -g wheel -m 444 /usr=
> /ports/textproc/docbook-xml/work/$file /usr/local/share/xml/docbook/4.2/$fi=
> le;  done
> > xmlcatmgr: entry already exists for `/usr/local/share/xml/docbook/4.2/doc=
> book.cat' of type `CATALOG'
> > *** Error code 1
> > =20
> > I will admit to general cluelessness about xmlcatmgr, so I am unsure how
> > to best proceed. Any suggestions?
> 
> Remove the 4.2 entry from /usr/local/share/sgml/catalog.ports, and
> reinstall again.

Thanks, Joe.

I did that and the error changed slightly. Do I need to delete an entry
somewhere else?
for file in `unzip -l /usr/ports/distfiles/docbook-xml-4.2.zip|/usr/bin/awk '/:[0-9].*[^\/]$/{print $4}'`; do  install  -o root -g wheel -m 444 /usr/ports/textproc/docbook-xml/work/$file /usr/local/share/xml/docbook/4.2/$file;  done
xmlcatmgr: entry already exists for
`/usr/local/share/xml/docbook/4.2/catalog.xml' of type `nextCatalog'

I appreciate your patience.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040205190917.06F895D07>