+------------------------------------------------------------------------------
| On 2015-05-02 20:40:57, Carsten Kunze wrote:
| 
| I am using pkgsrc 2015Q1. On "pkgin in git" I get the following error:
| 
| ---May 02 18:32:19: installing git-2.3.2...
| UX: /usr/sbin/useradd: ERROR: Cannot update system files - login cannot be 
created.
| passwd: User unknown: cyrus
| Permission denied
| pkg_add: install script returned error status
| pkg_add: Can't install dependency cyrus-sasl>=2.1.26
| pkg_add: Can't install dependency openldap-client>=2.4.39nb1
| pkg_add: Can't install dependency curl>=7.35.0nb1
| pkg_add: Can't install dependency git-base>=2.3.2
| pkg_add: 1 package addition failed

Guessing you're in the global zone. You aren't really meant to modify it, or
install packages there, but:

The package is trying to add a cyrus user to the system. It can't, because
/etc/shadow is read-only.

The workaround is to add a dummy cyrus user to just /etc/passwd manually before
you run `pkgin install`. This user will be lost on the next reboot, but unless
you actually plan on running cyrus in the global zone (highly dubious) it won't
matter.

Cheers.
-- 
bdha


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to