View previous topic :: View next topic |
Author |
Message |
ivdok n00b
Joined: 11 Oct 2013 Posts: 6
|
Posted: Fri Oct 11, 2013 4:16 pm Post subject: [SOLVED] emerge-webrsync talks nonsense |
|
|
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 |
|
|
GFCCAE6xF Apprentice
Joined: 06 Aug 2012 Posts: 295
|
Posted: Fri Oct 11, 2013 4:17 pm Post subject: |
|
|
1. Download current portage snapshot.
2. Unpack it to /usr |
|
Back to top |
|
|
ivdok n00b
Joined: 11 Oct 2013 Posts: 6
|
Posted: Fri Oct 11, 2013 4:22 pm Post subject: |
|
|
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 |
|
|
GFCCAE6xF Apprentice
Joined: 06 Aug 2012 Posts: 295
|
Posted: Fri Oct 11, 2013 4:23 pm Post subject: |
|
|
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 |
|
|
ivdok n00b
Joined: 11 Oct 2013 Posts: 6
|
Posted: Fri Oct 11, 2013 4:24 pm Post subject: |
|
|
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 |
|
|
GFCCAE6xF Apprentice
Joined: 06 Aug 2012 Posts: 295
|
Posted: Fri Oct 11, 2013 4:27 pm Post subject: |
|
|
Np. Good luck
Also you wont need to run emerge-webrsync after doing that, you can just emerge --sync as you would normally. |
|
Back to top |
|
|
ivdok n00b
Joined: 11 Oct 2013 Posts: 6
|
Posted: Fri Oct 11, 2013 4:42 pm Post subject: |
|
|
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 |
|
|
aim nano Tux's lil' helper
Joined: 20 Jan 2006 Posts: 131 Location: Jackson, MS
|
Posted: Fri Oct 18, 2013 4:36 am Post subject: |
|
|
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 |
|
|
GFCCAE6xF Apprentice
Joined: 06 Aug 2012 Posts: 295
|
Posted: Fri Oct 18, 2013 9:08 am Post subject: |
|
|
Oups, mistake when I edited it before
Annnddd... nope... it should not.
Unpacking the portage snapshot is not cool anymore (apparently ) 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 |
|
|
aim nano Tux's lil' helper
Joined: 20 Jan 2006 Posts: 131 Location: Jackson, MS
|
Posted: Fri Oct 18, 2013 2:19 pm Post subject: |
|
|
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 |
|
|
|