Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2004 21:27:11 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        gnome@FreeBSD.org
Subject:   portupgrade -f fails on docbook-sk
Message-ID:  <200402030527.i135RB7E001930@gw.catspoiler.org>

next in thread | raw e-mail | index | archive | help
Portupgrade -f fails to properly reinstall the textproc/docbook-sk port
because the port in not cleanly deinstalled.

xmlcatmgr: enabling compatibility mode; removing ALL matching entries
xmlcatmgr: no matching entry for `/usr/local/share/xml/docbook/4.1.2/catalog.xml
share/xml/docbook/4.1.2/catalog.xml' of any type
pkg_delete: unexec command for '/usr/local/bin/xmlcatmgr -c /usr/local/share/xml
/catalog.ports remove /usr/local/share/xml/docbook/4.1.2/catalog.xmlshare/xml/do
cbook/4.1.2/catalog.xml' failed
xmlcatmgr: enabling compatibility mode; removing ALL matching entries
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)


Because the entries for this port were not removed from
/usr/local/share/sgml/catalog.ports and
/usr/local/share/xml/catalog.ports, the reinstallation fails:

for file in `unzip -l /usr/ports/distfiles/docbkx412.zip|/usr/bin/awk '/:[0-9].*
[^\/]$/{print $4}'`; do  install  -o root -g wheel -m 444 /usr/ports/textproc/do
cbook-sk/work/$file /usr/local/share/xml/docbook/4.1.2/$file;  done
xmlcatmgr: entry already exists for `/usr/local/share/xml/docbook/4.1.2/catalog.
xml' of type `nextCatalog'
*** Error code 1

Stop in /usr/ports/textproc/docbook-sk.


At this point, even the package the was created before deinstalling the
old version can't be reinstalled.

--->  Restoring the old version
xmlcatmgr: entry already exists for `/usr/local/share/xml/docbook/4.1.2/catalog.
xml' of type `nextCatalog'
pkg_add: command '/usr/local/bin/xmlcatmgr -c /usr/local/share/xml/catalog.ports
 add nextCatalog /usr/local/share/xml/docbook/4.1.2/catalog.xml' failed
xmlcatmgr: entry already exists for `/usr/local/share/xml/docbook/4.1.2/docbook.
cat' of type `CATALOG'
pkg_add: command '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.por
ts add CATALOG /usr/local/share/xml/docbook/4.1.2/docbook.cat' failed
** Fix the installation problem and try again.



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