From nobody@FreeBSD.org  Sun Aug 26 22:02:47 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9CB0316A419
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Aug 2007 22:02:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8608513C474
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Aug 2007 22:02:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l7QM2iE9006422
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Aug 2007 22:02:44 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l7QM2iHW006421;
	Sun, 26 Aug 2007 22:02:44 GMT
	(envelope-from nobody)
Message-Id: <200708262202.l7QM2iHW006421@www.freebsd.org>
Date: Sun, 26 Aug 2007 22:02:44 GMT
From: Ron aitchison <ron@zytrax.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: duplicate copies of freebsd-update after 6.2 source upgrade
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         115842
>Category:       misc
>Synopsis:       duplicate copies of freebsd-update after 6.2 source upgrade
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 26 22:10:01 GMT 2007
>Closed-Date:    Sun Aug 26 22:26:44 GMT 2007
>Last-Modified:  Sun Aug 26 22:26:44 GMT 2007
>Originator:     Ron aitchison
>Release:        6.2-STABLE
>Organization:
ZYTRAX, Inc.
>Environment:
FreeBSD pc10.zytrax.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Aug 23 18:36:40 EDT 2007 root@pc10.zytrax.com:/var/src/sys/GENERIC i386
>Description:
Used a source upgrade from FreeBSD 5.3 to RELENG_6. Encountered a number of problems during the upgrade none of which, I think, would have caused the problem.
At the end of the upgrade there were two versions of freebsd-update (one in /usr/sbin and one in /usr/local/sbin) due to the PATH the older one (no version numbers in either one) was loaded first. 

>How-To-Repeat:
Impossible for me to re-create problem. I had not knowingly installed freebsd-update before but it could have been picked up as a dependency from a port under 5.3.
>Fix:
fix: rm/usr/sbin/freebsd-update

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Sun Aug 26 22:25:06 UTC 2007 
State-Changed-Why:  
Hello, 

As you said, you might not remember having installed 
security/freebsd-update, but that is where the one in /usr/local/bin 
is coming from. 

As from somewhere early in RELENG_6, it has become part of the base 
system and the port can be removed. Just use "pkg_delete 
/var/db/pkg/freebsd-update*/" and it all will be cleaned up. 

Edwin 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115842 
>Unformatted:
