From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 00:24:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 942DD106566B; Mon, 31 Mar 2008 00:24:33 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 61CA58FC12; Mon, 31 Mar 2008 00:24:33 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id m2V0OWBC040310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 30 Mar 2008 17:24:33 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id m2V0OWK6040309; Sun, 30 Mar 2008 17:24:32 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA17091; Sun, 30 Mar 08 16:18:02 PST Date: Sun, 30 Mar 2008 17:17:18 -0700 From: perryh@pluto.rain.com To: kris@freebsd.org Message-Id: <47f02d8e.xtw4HoBZjJEYST6+%perryh@pluto.rain.com> References: <47ef4464.8hmxyx8owvB7UAFk%perryh@pluto.rain.com> <47EF83E2.2000400@FreeBSD.org> <47f012c0.vaeX6y/Ut1gA9Lko%perryh@pluto.rain.com> <47F0147C.8070108@FreeBSD.org> In-Reply-To: <47F0147C.8070108@FreeBSD.org> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: pkg_add goofiness in 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 00:24:33 -0000 > What you showed does not indicate a failure. If you are saying > that the package wasn't actually installed completely, then > pkg_delete it and retry. I am not saying that the package was installed incompletely, incorrectly, or something else because I don't know which of those applies. *The package installation itself* threw an error message, with no instructions for recovery, and left the package database corrupted (incorrectly showing the package as installed). pkg_delete was only partially successful, perhaps because it was unable to completely clean up the corruption. Now what? # pkg_delete -v linuxdoc-1.1_1 Trying to remove dependency on package 'xmlcatmgr-2.2' with 'textproc/xmlcatmgr' origin. Trying to remove dependency on package 'iso8879-1986_2' with 'textproc/iso8879' origin. Change working directory to /usr/local Delete file /usr/local/share/sgml/linuxdoc/README Execute '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports remove linuxdoc/catalog' xmlcatmgr: enabling compatibility mode; removing ALL matching entries xmlcatmgr: no matching entry for `linuxdoc/catalog' of any type pkg_delete: unexec command for '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports remove linuxdoc/catalog' failed Delete file /usr/local/share/sgml/linuxdoc/catalog Delete file /usr/local/share/sgml/linuxdoc/freebsd-1.0.dtd Delete file /usr/local/share/sgml/linuxdoc/freebsd-1.1.dtd Delete file /usr/local/share/sgml/linuxdoc/linuxdoc.dec Delete file /usr/local/share/sgml/linuxdoc/original.dtd Delete directory /usr/local/share/sgml/linuxdoc Change working directory to . pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?)