sndio install: pw: user '_sndio' disappeared during update

Gary Aitken freebsd at dreamchaser.org
Thu Jan 28 05:37:35 UTC 2021


> 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 at 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


More information about the freebsd-questions mailing list