Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge: command not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jheaton5
n00b
n00b


Joined: 05 Oct 2014
Posts: 11

PostPosted: Sun Oct 05, 2014 5:04 pm    Post subject: [SOLVED] emerge: command not found Reply with quote

I have been using debian/sid since 2008 and am very familiar with the command line interface.

I am installing gentoo amd64 using the handbook. I am in the chroot and my network is working.
When I got to the section on installing portage, emerge-webrsync gave me a "command not found" error. I am using the USA-Ga Tech http mirror.
I could not resolve this issue so I downloaded a portage snapshot tarball (20140927). I placed the tarball in /usr and used the command
Code:
tar xvjpf portage-20140927.tar.bz2

The package extracted in /usr with no errors.

When I issued the command
Code:
emerge --sync
I get the error: emerge:command not found. Searching for emerge I found a link in /usr/bin to ../lib/portage/bin/emerge. There is no portage directory in /usr/lib. the portage directory is in /usr but there is no bin directory in /usr/portage.

The first problem came when emerge-webrsync was not found. Maybe that's the place to start, but i'm puzzled why the portage snapshot did not include the bin directory.

I have searched the forum site and google and find nothing specific to this issue. A link to previous topic that addresses this issue would be helpful. Anything would be helpful.


Last edited by jheaton5 on Sun Oct 05, 2014 10:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Sun Oct 05, 2014 5:13 pm    Post subject: Reply with quote

/usr/portage is the ebuild repository. /usr/bin/emerge and /usr/bin/emerge-webrsync should be in the stage3 tarball you extracted previous to that step.
Back to top
View user's profile Send private message
jheaton5
n00b
n00b


Joined: 05 Oct 2014
Posts: 11

PostPosted: Sun Oct 05, 2014 6:04 pm    Post subject: Reply with quote

Thanks for your response.

There are redirected entries in /usr/bin/ to both emerge and emerge-webrsync. These are linked to ../lib/portage/bin/, but there is no such directory. I remember searching for emerge and emerge-websync before I downloaded the portage tarball. I could have overlooked them.

Short of starting with a new partition, I would reboot the cd and delete everything in /mnt/gentoo, then start from the stage3 tarball, unless you have another recommendation.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13831

PostPosted: Sun Oct 05, 2014 6:47 pm    Post subject: Reply with quote

Do you have a /usr/lib64/portage/bin with the required files? If yes, is /usr/lib a symlink to /usr/lib64? If no, then that is your problem.
Back to top
View user's profile Send private message
jheaton5
n00b
n00b


Joined: 05 Oct 2014
Posts: 11

PostPosted: Sun Oct 05, 2014 10:11 pm    Post subject: Reply with quote

Hu wrote:
Do you have a /usr/lib64/portage/bin with the required files? If yes, is /usr/lib a symlink to /usr/lib64? If no, then that is your problem.


Answer=No;

I reformatted the partition and using a different mirror, downloaded the stage3 snapshot. I now have the required files and /usr/lib is symlinked to /usr/lib64. Thanks for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum