From owner-freebsd-gnome@FreeBSD.ORG Mon Feb 2 21:27:19 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F154516A4CE for ; Mon, 2 Feb 2004 21:27:18 -0800 (PST) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE49D43D1D for ; Mon, 2 Feb 2004 21:27:17 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9p2/8.12.9) with ESMTP id i135RB7E001930 for ; Mon, 2 Feb 2004 21:27:15 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200402030527.i135RB7E001930@gw.catspoiler.org> Date: Mon, 2 Feb 2004 21:27:11 -0800 (PST) From: Don Lewis To: gnome@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Subject: portupgrade -f fails on docbook-sk X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 05:27:19 -0000 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.