Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2012 15:04:12 +0100
From:      Artifex Maximus <artifexor@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   latest git ports upgrade
Message-ID:  <CAPkuXvHLZ2iu1Hr__Rw%2B2tLG58iE=5=jt_3ykHQKqHhuBkYdkA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello!

On upgrade I got the following error with git port:

===> Creating users and/or groups.
Using existing group `git_daemon'.
Creating user `git_daemon' with uid `964'.
pw: user 'git_daemon' already exists
*** Error code 74

Look for git_daemon user:

# id git_daemon
id: git_daemon: no such user

Hm. Try to delete:

# pw userdel git_daemon
pw: no such user `git_daemon'

Well. Are there really no such user?

# grep git_daemon /etc/passwd
git_daemon:*:964:964:git daemon:/nonexistent:/usr/sbin/nologin
# grep git_daemon /etc/master.passwd
git_daemon:*:964:964::0:0:git daemon:/nonexistent:/usr/sbin/nologin

Strange. Ok, do it manually. I remove git_daemon from passwd,
master.passwd and group which is basically a no-no process I know.
Then try to upgrade again. Now a little different error but still not
able to upgrade:

===> Creating users and/or groups.
Creating group `git_daemon' with gid `964'.
Creating user `git_daemon' with uid `964'.
pw: user 'git_daemon' disappeared during update
*** Error code 67

On next upgrade got the first error so I am in loop. Any idea what to do?

Bye,
a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPkuXvHLZ2iu1Hr__Rw%2B2tLG58iE=5=jt_3ykHQKqHhuBkYdkA>