Date: Wed, 28 May 2008 16:49:16 +0400 From: Andrew Pantyukhin <infofarmer@FreeBSD.org> To: Dan Langille <dan@langille.org> Cc: ports@freebsd.org Subject: Re: pkg_delete: package 'libvorbis-1.2.0,3' doesn't have a prefix Message-ID: <20080528124915.GZ92161@amilo.cenkes.org> In-Reply-To: <0EA7D07A-93A5-4D79-82EA-1F041D9DB89F@langille.org> References: <85B3D23B-90E4-467F-B1CA-F2C17A4F3589@langille.org> <20080528101008.GX92161@amilo.cenkes.org> <0EA7D07A-93A5-4D79-82EA-1F041D9DB89F@langille.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <failing package> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080528124915.GZ92161>