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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to