From owner-freebsd-ports@FreeBSD.ORG Wed May 28 12:49:21 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 847621065673 for ; Wed, 28 May 2008 12:49:21 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id 45BFA8FC14 for ; Wed, 28 May 2008 12:49:21 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from amilo.cenkes.org (ppp83-237-169-180.pppoe.mtu-net.ru [83.237.169.180]) (Authenticated sender: sat) by heka.cenkes.org (Postfix) with ESMTPSA id 79F20242F838; Wed, 28 May 2008 16:49:19 +0400 (MSD) Date: Wed, 28 May 2008 16:49:16 +0400 From: Andrew Pantyukhin To: Dan Langille Message-ID: <20080528124915.GZ92161@amilo.cenkes.org> References: <85B3D23B-90E4-467F-B1CA-F2C17A4F3589@langille.org> <20080528101008.GX92161@amilo.cenkes.org> <0EA7D07A-93A5-4D79-82EA-1F041D9DB89F@langille.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0EA7D07A-93A5-4D79-82EA-1F041D9DB89F@langille.org> X-OS: FreeBSD 8.0-CURRENT amd64 User-Agent: Mutt/1.5.17 (2007-11-01) Cc: ports@freebsd.org Subject: Re: pkg_delete: package 'libvorbis-1.2.0,3' doesn't have a prefix X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2008 12:49:21 -0000 On Wed, May 28, 2008 at 07:46:05AM -0400, Dan Langille wrote: > > On May 28, 2008, at 6:10 AM, Andrew Pantyukhin wrote: > >> On Tue, May 27, 2008 at 10:23:51PM -0400, Dan Langille wrote: >>> Can you tell me why this portupgrade fails? >>> >>> creating seeking_example >>> Making all in vq >>> ---> Backing up the old version >>> tar: +COMMENT: Cannot stat: No such file or directory >>> tar: +DESC: Cannot stat: No such file or directory >>> tar: Error exit delayed from previous errors. >> >> Because you lost a couple of files in /var/db/pkg? > > A poor question on my part. > > How can I make this portupgrade succeed? timtowtdi: 1. pkg_delete -af 2. rm -rf /var/db/pkg 3. touch /var/db/pkg/*/+{COMMENT,DESC} 4. pkg_delete -x 5. ln -sf /usr/bin/true /usr/local/sbin/portupgrade There is no "right way". Portupgrade is a great tool which just likes to really screw up once in a while. I guess it's a fair payment for all the headaches it solves.