Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge-webrsync talks nonsense
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
ivdok
n00b
n00b


Joined: 11 Oct 2013
Posts: 6

PostPosted: Fri Oct 11, 2013 4:16 pm    Post subject: [SOLVED] emerge-webrsync talks nonsense Reply with quote

Hello!
Recently, I have tried to install Gentoo. Unlike Arch, it keeps throwing out different kinds of errors, but I've solved them. Except one.
It goes right after unpacking stage3 and chrooting.
Code:
# mirrorselect -i -o >> /mnt/gentoo/etc/portage/make.conf
# mirrorselect -i -r -o >> /mnt/gentoo/etc/portage/make.conf
# cp -L /etc/resolv.conf /mnt/gentoo/etc/
# mount -t proc none /mnt/gentoo/proc
# mount --rbind /sys /mnt/gentoo/sys
# mount --rbind /dev /mnt/gentoo/dev
# chroot /mnt/gentoo /bin/bash
# source /etc/profile
# export PS1="(chroot) $PS1"
# mkdir /usr/portage
# emerge-webrsync

!!! Section 'gentoo' in repos.conf refers to repository without repository name set in '/usr/portage/profiles/repo_name'
!!! main-repo not set in DEFAULT and PORTDIR is empty.
emerge-webrsync: error: Repository 'gentoo' not found

What I have to do now? I don't tend to leave things as they are, so any help would be deeply appreciated.

UPD: Oh, and /usr/portage is always empty, but this is kind of predictable.


Last edited by ivdok on Fri Oct 11, 2013 4:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Fri Oct 11, 2013 4:17 pm    Post subject: Reply with quote

1. Download current portage snapshot.
2. Unpack it to /usr
Back to top
View user's profile Send private message
ivdok
n00b
n00b


Joined: 11 Oct 2013
Posts: 6

PostPosted: Fri Oct 11, 2013 4:22 pm    Post subject: Reply with quote

rorgoroth wrote:
1. Download current portage snapshot.
2. Unpack it to /usr

Un-tarring it from existing Linux (ofc in terminal) will do? Or I have to reboot immediately to live-USB?
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Fri Oct 11, 2013 4:23 pm    Post subject: Reply with quote

ivdok wrote:

Un-tarring it from existing Linux (ofc in terminal) will do? Or I have to reboot immediately to live-USB?


Personally I would do this whilst you are chrooted:
Code:
# wget distfiles.gentoo.org/snapshots/portage-latest.tar.bz2
# tar xvjf portage-latest.tar.bz2 -C /usr
# rm portage-latest.tar.bz2


or

Code:
# wget distfiles.gentoo.org/snapshots/portage-latest.tar.xz
# tar xvf portage-latest.tar.xz -C /usr
# rm portage-latest.tar.xz


Last edited by GFCCAE6xF on Fri Oct 18, 2013 9:06 am; edited 4 times in total
Back to top
View user's profile Send private message
ivdok
n00b
n00b


Joined: 11 Oct 2013
Posts: 6

PostPosted: Fri Oct 11, 2013 4:24 pm    Post subject: Reply with quote

rorgoroth wrote:
ivdok wrote:

Un-tarring it from existing Linux (ofc in terminal) will do? Or I have to reboot immediately to live-USB?


Personally I would do this whilst you are chrooted:
Code:
# wget distfiles.gentoo.org/snapshots/portage-latest.tar.xz
# tar xvjf portage-latest.tar.xz -C /usr
# rm portage-latest.tar.xz

Thanks for reply. I will retry it manually.
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Fri Oct 11, 2013 4:27 pm    Post subject: Reply with quote

Np. Good luck :D
Also you wont need to run emerge-webrsync after doing that, you can just emerge --sync as you would normally.
Back to top
View user's profile Send private message
ivdok
n00b
n00b


Joined: 11 Oct 2013
Posts: 6

PostPosted: Fri Oct 11, 2013 4:42 pm    Post subject: Reply with quote

rorgoroth wrote:
Np. Good luck :D
Also you wont need to run emerge-webrsync after doing that, you can just emerge --sync as you would normally.

Yaay! It (kind of) works! Many thanks for fast reply - I was a bit sad about issue.
Back to top
View user's profile Send private message
aim nano
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2006
Posts: 131
Location: Jackson, MS

PostPosted: Fri Oct 18, 2013 4:36 am    Post subject: Reply with quote

rorgoroth wrote:
ivdok wrote:

Un-tarring it from existing Linux (ofc in terminal) will do? Or I have to reboot immediately to live-USB?


Personally I would do this whilst you are chrooted:
Code:
# wget distfiles.gentoo.org/snapshots/portage-latest.tar.xz
# tar xvjf portage-latest.tar.bz2 -C /usr
# rm portage-latest.tar.bz2


//Edit: Small fix :)


Shouldn't the first line be: wget distfiles.gentoo.org/snapshots/portage-latest.tar.bz2 instead of .xz?

P.S. Shouldn't the handbook be edited to reflect this?
_________________
Unanswered posts need love too.
--
~ # emerge -pv gentoo-love
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Fri Oct 18, 2013 9:08 am    Post subject: Reply with quote

aim nano wrote:
snip

Oups, mistake when I edited it before :)

Annnddd... nope... it should not.
Unpacking the portage snapshot is not cool anymore (apparently :lol:) and emerge-webrsync is the way of getting portage files, which is why the handbook has been changed.
It just bad luck that portage in stable is broken in regard to webrsyc on a fresh install atm so until 2.2.7 is stable and in the stage3's everyone will hit this problem.
Back to top
View user's profile Send private message
aim nano
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2006
Posts: 131
Location: Jackson, MS

PostPosted: Fri Oct 18, 2013 2:19 pm    Post subject: Reply with quote

rorgoroth wrote:

It just bad luck that portage in stable is broken in regard to webrsyc on a fresh install atm so until 2.2.7 is stable and in the stage3's everyone will hit this problem.


Ok, bad luck. I thought it was a permanent change related one of those news items I read with eselect lately.
_________________
Unanswered posts need love too.
--
~ # emerge -pv gentoo-love
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