J. Roeleveld wrote:
> On Thursday, 11 April 2024 03:23:22 CEST Dale wrote:
>> 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,
> <snipped>
>
>>  * 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??
> First idea, if "man" exists, check if it matches current systems.
>
> This is on a system less then 1 month old:
>
> $ id man
> uid=13(man) gid=15(man) groups=15(man)
>
> --
> Joost

Mine says: 


root@fireball / # id man
uid=14357(man) gid=0(root) groups=0(root),15(man)
root@fireball / #


It doesn't match yours but it has something there.  I'm surprised that
doing a emerge -C and then emerging it again didn't fix it but I guess
it adds something to those files but doesn't remove it when
uninstalled.  So, I did some editing.  The old line, I commented it
out.  Then it emerged and added the new line. 


man:x:13:15:System user; man:/dev/null:/sbin/nologin
#man:!:14357:0:99999:7:::


With it set like that, it emerges.  This is what the output of your
command looks like now. 


root@fireball / # id man
uid=13(man) gid=15(man) groups=15(man)
root@fireball / #


Now it matches yours. 

Is this a bug or something?  I don't tend to mess with that file
myself.  :/

Dale

:-)  :-) 

Reply via email to