Howdy,

This failed once before but I didn't worry about it.  However, since the
profile update, it still fails.  I'd like to figure out how to fix it. 
I tried doing a emerge -C and then emerging it again.  No help.  This is
the output.  It's not to long, whole thing.  :-D



>>> Failed to install acct-user/man-1-r3, Log file:
>>>  '/var/log/portage/acct-user:man-1-r3:20240411-011746.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 2.12,
1.62, 1.72
 * Package:    acct-user/man-1-r3:0
 * Repository: gentoo
 * Maintainer: base-sys...@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/acct-user/man-1-r3/work
>>> Preparing source in /var/tmp/portage/acct-user/man-1-r3/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/acct-user/man-1-r3/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/acct-user/man-1-r3/work ...
>>> Source compiled.
>>> Test phase [not enabled]: acct-user/man-1-r3

>>> Install acct-user/man-1-r3 into
/var/tmp/portage/acct-user/man-1-r3/image
>>> Completed installing acct-user/man-1-r3 into
/var/tmp/portage/acct-user/man-1-r3/image

 * Final size of build directory: 0 KiB
 * Final size of installed tree:  4 KiB

./
./usr/
./usr/lib/
./usr/lib/sysusers.d/
./usr/lib/sysusers.d/acct-user-man.conf
>>> Done.
 * checking 1 files for package collisions
>>> Merging acct-user/man-1-r3 to /
error writing passwd entry: Invalid argument
 * User man already exists
--- /usr/
--- /usr/lib/
--- /usr/lib/sysusers.d/
>>> /usr/lib/sysusers.d/acct-user-man.conf
 * Removing user man from group(s): root
 * To retain the user's group membership in the local system
 * config, override with ACCT_USER_MAN_GROUPS or
 * ACCT_USER_MAN_GROUPS_ADD in make.conf.
 * Documentation reference:
 *
https://wiki.gentoo.org/wiki/Practical_guide_to_the_GLEP_81_migration#Override_user_groups
 * Updating user man
usermod: user 'man' does not exist in /etc/passwd
usermod: failed to unlock /etc/gshadow
 * usermod: user 'man' does not exist in /etc/passwd
 * usermod: failed to unlock /etc/gshadow
 * ERROR: acct-user/man-1-r3::gentoo failed (postinst phase):
 *   usermod failed with status 6
 *
 * Call stack:
 *     ebuild.sh, line 136:  Called pkg_postinst
 *   environment, line 884:  Called acct-user_pkg_postinst
 *   environment, line 417:  Called die
 * The specific snippet of code:
 *               die "usermod failed with status ${status}";
 *
 * If you need support, post the output of `emerge --info
'=acct-user/man-1-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=acct-user/man-1-r3::gentoo'`.
 * The complete build log is located at
'/var/log/portage/acct-user:man-1-r3:20240411-011746.log'.
 * For convenience, a symlink to the build log is located at
'/var/tmp/portage/acct-user/man-1-r3/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/acct-user/man-1-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/acct-user/man-1-r3/empty'
 * S: '/var/tmp/portage/acct-user/man-1-r3/work'
 * FAILED postinst: 1
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (acct-user/man-1-r3:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/acct-user:man-1-r3:20240411-011746.log'
 *

 * GNU info directory index is up-to-date.
(chroot) root@fireball / #



Any ideas?  It did install once long ago when the group and user thing
started. 

Ideas??

Dale

:-)  :-) 

Reply via email to