Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2021 22:32:51 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: sndio install: pw: user '_sndio' disappeared during update
Message-ID:  <789961b4-4273-1455-ba61-a2b2057f931f@dreamchaser.org>
In-Reply-To: <f619f4b9-9cda-62ff-33d3-539e8f85d0f6@dreamchaser.org>
References:  <50f55dfd-5467-c8bf-4170-a7659bac73fc@dreamchaser.org> <f619f4b9-9cda-62ff-33d3-539e8f85d0f6@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 1/27/21 10:13 PM, Gary Aitken wrote:
>> # pkg install sndio
>> ...
>> New packages to be INSTALLED:
>>          sndio: 1.7.0
>> ...
>> Proceed with this action? [y/N]: y
>> [1/1] Installing sndio-1.7.0...
>> ===> Creating groups.
>> Using existing group '_sndio'.
>> ===> Creating users
>> Creating user '_sndio' with uid '702'.
>> pw: user '_sndio' disappeared during update
>> pkg: PRE-INSTALL script failed
>>
>> Anyone know what this is about?
> 
> Forgot:
> 
>  11.4-RELEASE-p3 FreeBSD 11.4-RELEASE-p3 #0: Tue Sep  1 08:22:33 UTC 2020     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> portsnap fetch and update done today

It was caused by /etc/passwd and /etc/master.passwd being out of sync from
a ^c of an install script.
vipw and delete last entry (_sndio) fixed it.

Sorry for the chatter, up too long.

Gary



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?789961b4-4273-1455-ba61-a2b2057f931f>