Many thanks for the advice and help again.



The installation crashed again due to a file ownership issue.

I will start it again and see if this cures the problem.

The relevant output is here:


* Detected file collision(s):
 *
 *      /home/mikef/gentoo/usr/share/portage/config/make.conf.example
 *      /home/mikef/gentoo/usr/share/portage/config/make.globals
 *      /home/mikef/gentoo/usr/share/portage/config/repos.conf
 *      /home/mikef/gentoo/usr/share/portage/config/sets/portage.conf
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * None of the installed packages claim the file(s).
 *
 * Package 'sys-apps/portage-2.3.68' merged despite file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
 * chown failure ignored with unprivileged user:
 *     chown portage:portage ${D}${EPREFIX}/var/log/portage
${D}${EPREFIX}/var/log/portage/elog
 *     ${EPREFIX}/bin/chown: invalid user: 'portage:portage'












>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

 * IMPORTANT: config file '/home/mikef/gentoo/etc/hosts' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
setlocale: unsupported locale setting
portage: 'portage' user or group missing.
         For the defaults, line 1 goes into passwd, and 2 into group.
         portage:x:250:250:portage:/var/tmp/portage:/bin/false
         portage::250:portage
*** WARNING ***  For security reasons, only system administrators should be
*** WARNING ***  allowed in the portage group.  Untrusted users or processes
*** WARNING ***  can potentially exploit the portage group for attacks such
as
*** WARNING ***  local privilege escalation.

!!! Directory initialization failed: '/home/mikef/gentoo/var/lib/portage'
!!! chown('/home/mikef/gentoo/var/lib/portage', -1, 0)
!!! Directory initialization failed: '/home/mikef/gentoo/var/cache/edb'
!!! chown('/home/mikef/gentoo/var/cache/edb', -1, 0)
setlocale: unsupported locale setting
*** WARNING ***  For security reasons, only system administrators should be
*** WARNING ***  allowed in the portage group.  Untrusted users or processes
*** WARNING ***  can potentially exploit the portage group for attacks such
as
*** WARNING ***  local privilege escalation.

emerge: portage group access is required
portage: 'portage' user or group missing.
         For the defaults, line 1 goes into passwd, and 2 into group.
         portage:x:250:250:portage:/var/tmp/portage:/bin/false
         portage::250:portage
*** WARNING ***  For security reasons, only system administrators should be
*** WARNING ***  allowed in the portage group.  Untrusted users or processes
*** WARNING ***  can potentially exploit the portage group for attacks such
as
*** WARNING ***  local privilege escalation.

Fetching most recent snapshot ...
Trying to retrieve 20190703 snapshot from http://distfiles.gentoo.org ...
Fetching file portage-20190703.tar.xz.md5sum ...
Fetching file portage-20190703.tar.xz.gpgsig ...
Fetching file portage-20190703.tar.xz ...
Checking digest ...
Getting snapshot timestamp ...
Syncing local tree ...

Number of files: 162,469 (reg: 135,282, dir: 27,187)
Number of created files: 395 (reg: 376, dir: 19)
Number of deleted files: 269 (reg: 260, dir: 9)
Number of regular files transferred: 1,375
Total file size: 221.16M bytes
Total transferred file size: 9.46M bytes
Literal data: 9.46M bytes
Matched data: 0 bytes
File list size: 327.68K
File list generation time: 0.015 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 10.98M
Total bytes received: 68.55K

sent 10.98M bytes  received 68.55K bytes  16.78K bytes/sec
total size is 221.16M  speedup is 20.02
Cleaning up ...
setlocale: unsupported locale setting
portage: 'portage' user or group missing.
         For the defaults, line 1 goes into passwd, and 2 into group.
         portage:x:250:250:portage:/var/tmp/portage:/bin/false
         portage::250:portage
*** WARNING ***  For security reasons, only system administrators should be
*** WARNING ***  allowed in the portage group.  Untrusted users or processes
*** WARNING ***  can potentially exploit the portage group for attacks such
as
*** WARNING ***  local privilege escalation.

!!! Directory initialization failed: '/home/mikef/gentoo/var/lib/portage'
!!! chown('/home/mikef/gentoo/var/lib/portage', -1, 0)
!!! Directory initialization failed: '/home/mikef/gentoo/var/cache/edb'
!!! chown('/home/mikef/gentoo/var/cache/edb', -1, 0)
setlocale: unsupported locale setting
* running emerge -u system
setlocale: unsupported locale setting
portage: 'portage' user or group missing.
         For the defaults, line 1 goes into passwd, and 2 into group.
         portage:x:250:250:portage:/var/tmp/portage:/bin/false
         portage::250:portage
*** WARNING ***  For security reasons, only system administrators should be
*** WARNING ***  allowed in the portage group.  Untrusted users or processes
*** WARNING ***  can potentially exploit the portage group for attacks such
as
*** WARNING ***  local privilege escalation.

!!! Directory initialization failed: '/home/mikef/gentoo/var/lib/portage'
!!! chown('/home/mikef/gentoo/var/lib/portage', -1, 0)
!!! Directory initialization failed: '/home/mikef/gentoo/var/cache/edb'
!!! chown('/home/mikef/gentoo/var/cache/edb', -1, 0)
setlocale: unsupported locale setting
emerge: superuser access is required

*************************************************


Regards

MF












>
>
>

Reply via email to