Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge-webrsync always failing ...
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
Annunaki
n00b
n00b


Joined: 14 Sep 2014
Posts: 8

PostPosted: Sun Sep 14, 2014 9:22 pm    Post subject: emerge-webrsync always failing ... Reply with quote

Hello everyone,

I'm rather new to linux, making a huge leap from debian/ubuntu after checking around 100 linux os, to invest on the best as soon as possible.

It's been around two weeks I'm stuck on chapter 6 of the gentoo manual, internet is working, after chrooting, when I try: emerge --webrsync, I get :
!!! '--webrsync' is not a valid package atom.
!!! Please check ebuild(5) for full details.

When I try emerge --sync:

>>>Synchronization of repository 'gentoo" located in 'usr/portage'...
!!! getaddrinfo failed for 'rsync.gentoo.org' : [Errno -2] Name or service not known
>>> Starting rsync with rsync://rsync.gentoo.org/gentoo-portage...
>>> Checking server timestamp ...
rsync: getaddrinfo : rsync.gentoo.org 873 : Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9]
>>> Retrying ...
!!! Exhausted addresses for rsync.gentoo.org

When I try : emerge -av mirrorselect

!!! it seems that /proc is not mounted. You have been warned

and at other times:
!!! couldn't download 'python-exec-2.0.1.tar.bz2'. Aborting
Fetch failed for 'dev/lang/pything-exec-2.0.1-r1', log file:
'/var/tmp/portage§dev-lamp/python-exec-2.0.1-r1/temp/build.log'

>>> Failed to emerge dev-lang/python-exec-2.0.1-r1, Log file:
>>> '/var/tmp/portqge/dev-lamp/python-exec-2.0.1-r1/temp/build.log'

Messages for package dev-lang/python-exec-2.0.1-r1',Log file:
'/var/tmp/portqge/dev-lang/pythong-exec-2.0.1-r1/temp/build.log'

when I try env-update :

bash: env-update: command not found'

I looked for answers on literally all the pages of google, yahoo, searched in the forum: !!! getaddrinfo failed for 'rsync.gentoo.org': [Errno -2], emerge --sync, emerge --webrsync, emerge and alas didn't find a solution.

It seems if I'm not wrong it can't access a url ... even if I have the internet on.

I usually avoid posting because as a web developper I learnt to search efficiently but i'm really stuck there but still really eager to use gentoo...
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Sun Sep 14, 2014 10:52 pm    Post subject: Reply with quote

There is no space in emerge-webrsync and only one dash. :wink:

Although it looks like you might have network problems in your chroot as well. If this doesn't work, make sure you coped /etc/resolv.conf correctly or nothing will work.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Annunaki
n00b
n00b


Joined: 14 Sep 2014
Posts: 8

PostPosted: Mon Sep 15, 2014 5:41 pm    Post subject: Reply with quote

Hi, thanks for your quick reply, came back from work.

I tried emerge-webrsync it shows:

-bash: emerge-webrsync: command not found.

This is what is in my /etc/resolv.conf

There's no resolv.conf in the /etc, and there's no directory after /mnt
therefore no resolv.conf,

I typed : find -name "resolv.conf" at the source of my tree and also find a resolv.conf in

/run/dhcpcd however it also contains nothing ...

I must say being frustrated at doing it many times therefore I looked at this tutorial:
http://www.youtube.com/watch?v=sJwwcw56d6c
and go up to minute 13 minutes when it shows emerge --sync.

Perhaps putting the required data of resolv.conf on this forum can
quickly sort this problem so that I can just put it in that file?
Back to top
View user's profile Send private message
mad2
n00b
n00b


Joined: 18 Jan 2012
Posts: 4

PostPosted: Mon Sep 15, 2014 6:18 pm    Post subject: Reply with quote

You should really mount proc before doing anything in the chroot. Not mounting proc has only caused problems for me.
exit the chroot
Code:
exit

cd to the mounted directory
Code:
cd /mnt/gentoo

copy resolv.conf as the doctor said
Code:
cp /etc/resolv.conf etc

mount proc
Code:
mount -t proc none proc

enter the chroot again
Code:
env -i HOME=/root TERM=$TERM chroot . bash -l


Then continue following the gentoo handbook because it is an amazing resource.


Last edited by mad2 on Mon Sep 15, 2014 6:20 pm; edited 2 times in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Mon Sep 15, 2014 6:18 pm    Post subject: Reply with quote

Quote:
I tried emerge-webrsync it shows:

-bash: emerge-webrsync: command not found.
Then there is something seriously wrong with your install.

You should probably start over since it seems like you really messed up your environment. Sorting that out will probably take longer than starting over, and you would probably need to anyway. I would recommend using the system rescue CD as the install media since it will allow you to have a web browser on the same screen as your terminal.

And follow the handbook step by step. Skipping steps and/or altering commands is probably what got you into this position. You definitely missed coping your resolv.conf from your live environment to your chroot and it looks like there is a major problem with your stage3 tarball. The video is over a year old. The installation process has changed slightly since then.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Annunaki
n00b
n00b


Joined: 14 Sep 2014
Posts: 8

PostPosted: Sun Sep 21, 2014 10:38 am    Post subject: Reply with quote

Hello all, sorry for the late reply been busy with work and stuff.

It saved me a lot of time to know the videos are out of date, I managed

to get to the "make menuconfig" then failed afterwards starting it again.

I realized it was due to that I thought the mkfs commands were optional

whereas in the video it show you had to do it, so the first time I

sorted it by making a combination of both commands.

As I'm currently looking in the kernel and taking a deep look at it, I

am not sure which is the best kernel for security (I don't want to make

a server)
Is it hardened-sources, gentoo-dev-sources or grsec-sources?

As for the settings, should I select
block devices and network device support?

I carry on looking into this.

At least now I have exactly all the needed commands to save me time everytime I start the pc!

Thank you
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