From owner-freebsd-questions@FreeBSD.ORG Sun Mar 30 12:13:24 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 82C2E1065671 for ; Sun, 30 Mar 2008 12:13:24 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CA5198FC15; Sun, 30 Mar 2008 12:13:19 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47EF83E2.2000400@FreeBSD.org> Date: Sun, 30 Mar 2008 14:13:22 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: perryh@pluto.rain.com References: <47ef4464.8hmxyx8owvB7UAFk%perryh@pluto.rain.com> In-Reply-To: <47ef4464.8hmxyx8owvB7UAFk%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Sun, 30 Mar 2008 12:13:24 -0000 perryh@pluto.rain.com wrote: > The first time I tried to add linuxdoc-1.1_1.tbz to a new-from-CD > 7.0 installation, it complained about a missing dependency that > was on the other CD. OK, I switched CDs and installed that, then > switched back and retried linuxdoc-1.1_1.tbz, and it gave me some > sort of error about an unbalanced add operation. (I didn't try > to copy down all the details, figuring instead to retry with a > script(1) active so as to capture them.) Upon that retry, it now > tells me that the package is already installed, even though the > prior attempt failed. > > What is going on? > > # uname -a > FreeBSD fbsd70.uucp 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > # ls -l linuxdoc* > -r--r--r-- 1 root wheel 9156 Feb 24 08:18 linuxdoc-1.1_1.tbz > # pkg_add -Kv linuxdoc* > Requested space: 36624 bytes, free space: 774981632 bytes in /var/tmp/instmp.3DBbHN > pkg_add: package 'linuxdoc-1.1_1' or its older version already installed > pkg_add: 1 package addition(s) failed No idea, you'll have to recreate the failure and show us. Kris