From nobody@FreeBSD.org  Fri Feb 13 08:31:37 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BE16616A4D0
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Feb 2004 08:31:37 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BAC2543D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Feb 2004 08:31:37 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i1DGVb72051044
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Feb 2004 08:31:37 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i1DGVbmo051043;
	Fri, 13 Feb 2004 08:31:37 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200402131631.i1DGVbmo051043@www.freebsd.org>
Date: Fri, 13 Feb 2004 08:31:37 -0800 (PST)
From: Rob <rob@OhReally.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: have to relogin to find apps installed with pkg_add
X-Send-Pr-Version: www-2.0

>Number:         62796
>Category:       misc
>Synopsis:       have to relogin to find apps installed with pkg_add
>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:   Fri Feb 13 08:40:18 PST 2004
>Closed-Date:    Fri Feb 13 10:02:40 PST 2004
>Last-Modified:  Fri Feb 13 10:02:40 PST 2004
>Originator:     Rob
>Release:        5.2-RELEASE
>Organization:
>Environment:
FreeBSD workstation.sybolt.lan 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Hi,

I just installed FreeBSD 5.2-RELEASE (base install).
Right after that I wanted to update my ports collection, so I ran `pkg_add -r cvsup'. Cvsup and some dependencies installed fine, but when I tried `cvsup -g -L 2 ~/cvsup/ports' I got a message 'cvsup: command not found'. Running `which cvsup' said the same, but `ls /usr/local/bin' did show cvsup, and /usr/local/bin was in my path. I had to log out and log back in again to be able to run cvsup.

cheers,
Rob
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: Johan Pettersson <manlix@demonized.net>
To: Rob <rob@OhReally.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/62796: have to relogin to find apps installed with pkg_add
Date: Fri, 13 Feb 2004 17:44:29 +0100

 In (t)csh you need to run rehash to reload your $PATH. Just run 'rehash' from your command line.
 
 On Fri, 13 Feb 2004 08:31:37 -0800 (PST)
 Rob <rob@OhReally.com> wrote:
 
 > 
 > >Number:         62796
 > >Category:       misc
 > >Synopsis:       have to relogin to find apps installed with pkg_add
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Fri Feb 13 08:40:18 PST 2004
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Rob
 > >Release:        5.2-RELEASE
 > >Organization:
 > >Environment:
 > FreeBSD workstation.sybolt.lan 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
 > >Description:
 > Hi,
 > 
 > I just installed FreeBSD 5.2-RELEASE (base install).
 > Right after that I wanted to update my ports collection, so I ran `pkg_add -r cvsup'. Cvsup and some dependencies installed fine, but when I tried `cvsup -g -L 2 ~/cvsup/ports' I got a message 'cvsup: command not found'. Running `which cvsup' said the same, but `ls /usr/local/bin' did show cvsup, and /usr/local/bin was in my path. I had to log out and log back in again to be able to run cvsup.
 > 
 > cheers,
 > Rob
 > >How-To-Repeat:
 > 
 > >Fix:
 > 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > _______________________________________________
 > freebsd-bugs@freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
 > To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
 > 
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Fri Feb 13 10:01:30 PST 2004 
State-Changed-Why:  
Pilot error.  Depending on your shell, you should either run "rehash" 
(for tcsh/csh) or "hash -r" (bash/sh).  Failing that, log out and log in 
again. 

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