latest git ports upgrade

Artifex Maximus artifexor at gmail.com
Thu Nov 29 14:04:19 UTC 2012


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


More information about the freebsd-questions mailing list