1 |
On Wed, 21 Nov 2018 13:52:50 +1100, Zoltán Kócsi wrote: |
2 |
|
3 |
> I have a machine with Gentoo, which was installed from scratch 5 months |
4 |
> ago, was updated 3 months ago. Time to look at it again. |
5 |
> |
6 |
> emerge --sync |
7 |
> |
8 |
> told me that I was strongly advised to update portage. |
9 |
> |
10 |
> emerge portage |
11 |
> |
12 |
> comes back with lots of errors, see below (the output is slightly |
13 |
> edited for brevity). |
14 |
> |
15 |
> There is nothing to mask those packages, for example the word 'certifi' |
16 |
> does not occur in *any* file under /etc/portage at all. |
17 |
> |
18 |
> As per the "5 config files ..." bit, well, dispatch-conf and etc-update |
19 |
> tell me that they have nothing to do, so I have no idea what 5 files |
20 |
> need updating, to what and how to update them. |
21 |
|
22 |
find /etc/portage -name ._cfg\* |
23 |
|
24 |
Config files for updating start with ._cfg |
25 |
|
26 |
> I don't really understand how portage works (but I'd be glad if someone |
27 |
> could point me to a single-entity document of its architecture and |
28 |
> internals) so I couldn't even guess what its problem is. And the system |
29 |
> is not *that* old, really. |
30 |
|
31 |
The Gentoo Handbook and man portage are good starting points. |
32 |
|
33 |
> tade ~ # emerge portage 2> /tmp/emsg |
34 |
> |
35 |
> * IMPORTANT: 5 config files in '/etc/portage' need updating. |
36 |
> * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS |
37 |
> * sections of the emerge man page to learn how to update config files. |
38 |
> |
39 |
> [ebuild U ] app-crypt/openpgp-keys-gentoo-release-20180706 |
40 |
> [20180703] USE="{-test%}" |
41 |
> |
42 |
> [ebuild R ] dev-python/setuptools-36.7.2 |
43 |
> PYTHON_TARGETS="python3_6* -python3_5*" |
44 |
> |
45 |
> [ebuild R ] dev-python/certifi-2018.4.16 |
46 |
> PYTHON_TARGETS="python3_6* -python3_5* (-python3_7)" |
47 |
> |
48 |
> [ebuild U *] app-portage/gemato-9999 [13.0-r1] |
49 |
> PYTHON_TARGETS="python3_6* -python3_5* -python3_7%" |
50 |
> |
51 |
> [ebuild U *] sys-apps/portage-9999 [2.3.40-r1] |
52 |
> PYTHON_TARGETS="python3_6* -python3_5* -python3_7%" |
53 |
|
54 |
This would appear to be your problem, you are trying to emerge version |
55 |
9999 of portage. Version 9999 usually refers to a git version, so not |
56 |
usually desirable, especially for a critical system tool. So the first |
57 |
step is to find out why portage wants version 9999. |
58 |
|
59 |
grep -r portage /etc/portage |
60 |
|
61 |
will tell you if you have set it for installation. Otherwise repeat the |
62 |
emerge command with the -t option, which shows what is pulling in a |
63 |
particular package. |
64 |
|
65 |
> |
66 |
> !!! Multiple package instances within a single package slot have been |
67 |
> pulled |
68 |
> !!! into the dependency graph, resulting in a slot conflict: |
69 |
> |
70 |
> sys-apps/portage:0 |
71 |
> |
72 |
> (sys-apps/portage-9999:0/0::gentoo, ebuild scheduled for merge) |
73 |
> pulled in by sys-apps/portage (Argument) |
74 |
|
75 |
This implies you have somehow unmasked portage-9999 |
76 |
|
77 |
|
78 |
-- |
79 |
Neil Bothwick |
80 |
|
81 |
[---- Printed on recycled electrons ----] |