Gentoo Archives: gentoo-alt

From: Michael Fothergill <michael.fothergill@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] I tried installing gentoo prefix on WSL2 running debian.....
Date: Thu, 04 Jul 2019 15:44:37
Message-Id: CANc=Sd2kepdgU6XSVJT-h-pw78BVXN2UCih-QPJcKujdj8rD_Q@mail.gmail.com
In Reply to: Re: [gentoo-alt] I tried installing gentoo prefix on WSL2 running debian..... by Fabian Groffen
1 Many thanks for the advice and help again.
2
3
4
5
6 The installation crashed again due to a file ownership issue.
7
8 I will start it again and see if this cures the problem.
9
10 The relevant output is here:
11
12
13 * Detected file collision(s):
14 *
15 * /home/mikef/gentoo/usr/share/portage/config/make.conf.example
16 * /home/mikef/gentoo/usr/share/portage/config/make.globals
17 * /home/mikef/gentoo/usr/share/portage/config/repos.conf
18 * /home/mikef/gentoo/usr/share/portage/config/sets/portage.conf
19 *
20 * Searching all installed packages for file collisions...
21 *
22 * Press Ctrl-C to Stop
23 *
24 * None of the installed packages claim the file(s).
25 *
26 * Package 'sys-apps/portage-2.3.68' merged despite file collisions. If
27 * necessary, refer to your elog messages for the whole content of the
28 * above message.
29 * chown failure ignored with unprivileged user:
30 * chown portage:portage ${D}${EPREFIX}/var/log/portage
31 ${D}${EPREFIX}/var/log/portage/elog
32 * ${EPREFIX}/bin/chown: invalid user: 'portage:portage'
33
34
35
36
37
38
39
40
41
42
43
44
45 >>> Auto-cleaning packages...
46
47 >>> No outdated packages were found on your system.
48
49 * GNU info directory index is up-to-date.
50
51 * IMPORTANT: config file '/home/mikef/gentoo/etc/hosts' needs updating.
52 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
53 * sections of the emerge man page to learn how to update config files.
54 setlocale: unsupported locale setting
55 portage: 'portage' user or group missing.
56 For the defaults, line 1 goes into passwd, and 2 into group.
57 portage:x:250:250:portage:/var/tmp/portage:/bin/false
58 portage::250:portage
59 *** WARNING *** For security reasons, only system administrators should be
60 *** WARNING *** allowed in the portage group. Untrusted users or processes
61 *** WARNING *** can potentially exploit the portage group for attacks such
62 as
63 *** WARNING *** local privilege escalation.
64
65 !!! Directory initialization failed: '/home/mikef/gentoo/var/lib/portage'
66 !!! chown('/home/mikef/gentoo/var/lib/portage', -1, 0)
67 !!! Directory initialization failed: '/home/mikef/gentoo/var/cache/edb'
68 !!! chown('/home/mikef/gentoo/var/cache/edb', -1, 0)
69 setlocale: unsupported locale setting
70 *** WARNING *** For security reasons, only system administrators should be
71 *** WARNING *** allowed in the portage group. Untrusted users or processes
72 *** WARNING *** can potentially exploit the portage group for attacks such
73 as
74 *** WARNING *** local privilege escalation.
75
76 emerge: portage group access is required
77 portage: 'portage' user or group missing.
78 For the defaults, line 1 goes into passwd, and 2 into group.
79 portage:x:250:250:portage:/var/tmp/portage:/bin/false
80 portage::250:portage
81 *** WARNING *** For security reasons, only system administrators should be
82 *** WARNING *** allowed in the portage group. Untrusted users or processes
83 *** WARNING *** can potentially exploit the portage group for attacks such
84 as
85 *** WARNING *** local privilege escalation.
86
87 Fetching most recent snapshot ...
88 Trying to retrieve 20190703 snapshot from http://distfiles.gentoo.org ...
89 Fetching file portage-20190703.tar.xz.md5sum ...
90 Fetching file portage-20190703.tar.xz.gpgsig ...
91 Fetching file portage-20190703.tar.xz ...
92 Checking digest ...
93 Getting snapshot timestamp ...
94 Syncing local tree ...
95
96 Number of files: 162,469 (reg: 135,282, dir: 27,187)
97 Number of created files: 395 (reg: 376, dir: 19)
98 Number of deleted files: 269 (reg: 260, dir: 9)
99 Number of regular files transferred: 1,375
100 Total file size: 221.16M bytes
101 Total transferred file size: 9.46M bytes
102 Literal data: 9.46M bytes
103 Matched data: 0 bytes
104 File list size: 327.68K
105 File list generation time: 0.015 seconds
106 File list transfer time: 0.000 seconds
107 Total bytes sent: 10.98M
108 Total bytes received: 68.55K
109
110 sent 10.98M bytes received 68.55K bytes 16.78K bytes/sec
111 total size is 221.16M speedup is 20.02
112 Cleaning up ...
113 setlocale: unsupported locale setting
114 portage: 'portage' user or group missing.
115 For the defaults, line 1 goes into passwd, and 2 into group.
116 portage:x:250:250:portage:/var/tmp/portage:/bin/false
117 portage::250:portage
118 *** WARNING *** For security reasons, only system administrators should be
119 *** WARNING *** allowed in the portage group. Untrusted users or processes
120 *** WARNING *** can potentially exploit the portage group for attacks such
121 as
122 *** WARNING *** local privilege escalation.
123
124 !!! Directory initialization failed: '/home/mikef/gentoo/var/lib/portage'
125 !!! chown('/home/mikef/gentoo/var/lib/portage', -1, 0)
126 !!! Directory initialization failed: '/home/mikef/gentoo/var/cache/edb'
127 !!! chown('/home/mikef/gentoo/var/cache/edb', -1, 0)
128 setlocale: unsupported locale setting
129 * running emerge -u system
130 setlocale: unsupported locale setting
131 portage: 'portage' user or group missing.
132 For the defaults, line 1 goes into passwd, and 2 into group.
133 portage:x:250:250:portage:/var/tmp/portage:/bin/false
134 portage::250:portage
135 *** WARNING *** For security reasons, only system administrators should be
136 *** WARNING *** allowed in the portage group. Untrusted users or processes
137 *** WARNING *** can potentially exploit the portage group for attacks such
138 as
139 *** WARNING *** local privilege escalation.
140
141 !!! Directory initialization failed: '/home/mikef/gentoo/var/lib/portage'
142 !!! chown('/home/mikef/gentoo/var/lib/portage', -1, 0)
143 !!! Directory initialization failed: '/home/mikef/gentoo/var/cache/edb'
144 !!! chown('/home/mikef/gentoo/var/cache/edb', -1, 0)
145 setlocale: unsupported locale setting
146 emerge: superuser access is required
147
148 *************************************************
149
150
151 Regards
152
153 MF
154
155
156
157
158
159
160
161
162
163
164
165
166 >
167 >
168 >