Gentoo Archives: gentoo-user

From: Fernando Rodriguez <cyklonite@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: transplant /usr/portage [Was: Backup] [Was: Old Firefox ebuild?]
Date: Fri, 28 Oct 2016 12:51:18
Message-Id: 0a1036c4-860d-0404-cc74-bca120799fbc@gmail.com
In Reply to: [gentoo-user] Re: transplant /usr/portage [Was: Backup] [Was: Old Firefox ebuild?] by Ian Zimmerman
1 On 10/26/2016 09:16 PM, Ian Zimmerman wrote:
2 > On 2016-10-26 21:39, Neil Bothwick wrote:
3 >
4 >> $ grep -r x-portage /etc/portage /var/lib/portage /usr/share/portage
5 >
6 > Nothing.
7 >
8 >> AIUI /usr/share/portage/repos.conf sets the defaults, which are
9 >> overridden by the file in /etc. That's how it happens here.
10 >
11 > Even making /usr/share/portage/repos.conf a symlink to
12 > /etc/portage/repos.conf/gentoo.conf, and adding an extra x-portage
13 > section to the latter with a duplicated "location = " setting changed
14 > nothing. This looks like a bug. Any portage devs here?
15 >
16 > OTOH, just making /usr/portage itself a symlink to the new location
17 > seems to work fine; portage even resolves the symlink in all its
18 > messages. --sync works too.
19
20 Do you have a crossdev overlay?
21 If so it's ebuilds are symlinks to the main portage tree so you need
22 to fix them manually or rebuild all your crossdev packages.
23
24 >
25 > When you moved your tree, have you in fact removed /usr/portage, or have
26 > you left it in place but empty?
27 >
28 > Do you use any overlays? (I do.)
29 >
30
31
32 --
33
34 Fernando Rodriguez