Gentoo Archives: gentoo-user

From: YoYo Siska <yoyo@××××××.sk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Unable to login to gentoo
Date: Wed, 02 Nov 2011 11:02:28
Message-Id: 20111102110110.GA10134@ksp.sk
In Reply to: Re: [gentoo-user] Unable to login to gentoo by Dale
1 On Tue, Nov 01, 2011 at 04:54:06PM -0500, Dale wrote:
2 > Michael Schreckenbauer wrote:
3 > > Am Dienstag, 1. November 2011, 23:00:57 schrieb Alan McKinnon:
4 > >> On Tue, 01 Nov 2011 14:49:30 -0500
5 > >>
6 > >> Dale<rdalek1967@×××××.com> wrote:
7 > >>> Vishnupradeep wrote:
8 > >>>> On Tue, Nov 1, 2011 at 2:48 PM, Mick<michaelkintzios@×××××.com
9 > >>>>
10 > >>>> <mailto:michaelkintzios@×××××.com>> wrote:
11 > >>>> emerge -1aDv app-portage/gentoolkit
12 > >>>>
13 > >>>> revdep-rebuild -v --ask
14 > >>>>
15 > >>>> i can't use emerge command as it is shown as command not found. can
16 > >>>> u tell the correct path of emerge.
17 > >>> /usr/bin/emerge
18 > >>>
19 > >>> Little bit of learning here:
20 > >>>
21 > >>> root@smoker / # which emerge
22 > >>> /usr/bin/emerge
23 > >>> root@smoker / #
24 > >>>
25 > >>> Now you know where it is and how I found out where it is. Trick is
26 > >>> remembering a command you rarely use.
27 > >> That won't work. The $PATH is broken so the shell can't find ls and
28 > >> emerge.
29 > >>
30 > >> Well, it won't find which either :-)
31 > >>
32 > >> Solution: You run which which and tell the OP which directory contains
33 > >> which so he can run /path/towhich emerge to find out where emerge is.
34 > > Or just use "type -a", because that's a builtin.
35 > > ~ $ type -a emerge
36 > > emerge is /usr/bin/emerge
37 > >
38 > > Best,
39 > > Michael
40 > >
41 > >
42 > >
43 > >
44 >
45 >
46 > That is better. Now to remember that command. ;-)
47 >
48 > Dale
49
50 Except that both won't work in OP's case, because both look for the
51 executable in directories in PATH which is the OP's problem ;)
52
53 yoyo