From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] acct-user/man usermod: user 'man' does not exist in /etc/passwd
Date: Wed, 10 Apr 2024 20:23:22 -0500 [thread overview]
Message-ID: <8f2f20df-05f5-b512-c30b-f7b90614ca11@gmail.com> (raw)
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-system@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
:-) :-)
next reply other threads:[~2024-04-11 1:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-11 1:23 Dale [this message]
2024-04-11 5:22 ` [gentoo-user] acct-user/man usermod: user 'man' does not exist in /etc/passwd J. Roeleveld
2024-04-11 8:16 ` Dale
2024-04-11 8:52 ` J. Roeleveld
2024-04-11 7:57 ` Michael
2024-04-11 9:22 ` Dale
2024-04-11 9:30 ` Michael
2024-04-11 11:58 ` Dale
2024-04-11 14:52 ` Michael
2024-04-11 15:08 ` Dale
2024-04-11 15:41 ` Michael
2024-04-12 14:32 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8f2f20df-05f5-b512-c30b-f7b90614ca11@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox