Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 1999 08:23:24 -0300 (GMT)
From:      Fernando Schapachnik <fpscha@ns1.sminter.com.ar>
To:        roelof@n669.telekabel.euronet.nl
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: misc/10364: Freshly installed program can not be found
Message-ID:  <199903031123.IAA13036@ns1.sminter.com.ar>
In-Reply-To: <199903030330.EAA05417@n669.telekabel.euronet.nl> from User Roelof Osinga at "Mar 3, 99 04:30:37 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Have you tried 'rehash'? See man rehash.

Regards!

En un mensaje anterior, User Roelof Osinga escribió:
> 
> >Number:         10364
> >Category:       misc
> >Synopsis:       Freshly installed program can not be found
> >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:   Tue Mar  2 19:40:00 PST 1999
> >Closed-Date:
> >Last-Modified:
> >Originator:     Roelof Osinga
> >Release:        FreeBSD 3.1-RELEASE i386
> >Organization:
> eboa - engineering buro Office Automation
> >Environment:
> 
> 	
> 
> >Description:
> 
> Right after installing a port that port is not found, even though
> present.
> 
> >How-To-Repeat:
> 
> On a freshly installed system install the bash2 port. Followed
> directly by:
> 
> n669# whereis bash
> Warning: couldn't stat file /usr/local/lib/perl5/5.00502/man!
> bash: /usr/local/bin/bash /usr/local/man/man1/bash.1.gz
> n669# echo $PATH
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/root/bin
> n669# bash
> bash: Command not found.
> n669# ls -ld /usr/local/bin/ba*
> lrwxr-xr-x  1 root  wheel       6 Mar  2 22:48 /usr/local/bin/base64 -> ssleay
> -r-xr-xr-x  1 root  wheel  366040 Mar  3 04:09 /usr/local/bin/bash
> -r-xr-xr-x  1 root  wheel    3149 Mar  3 04:09 /usr/local/bin/bashbug
> n669# /usr/local/bin/bash 
> bash-2.02# exit
> n669# bash
> bash: Command not found.
> n669# 
> 
> >Fix:
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
>  >Fie: 
>  	
>  	<How to correct or work around the problem, if known (multiple lines)>
>  It is self correcting. In fact other consoles can find the program just
>  fine. It is the console that did the install that can't find the installed
>  program.
>  
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-bugs" in the body of the message
> 


Fernando P. Schapachnik
Administracion de la red
VIA Net Works Argentina SA


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903031123.IAA13036>