`pkg_add -r mongodb` failed

Matthew Seaman matthew at FreeBSD.org
Sun Oct 21 13:12:20 UTC 2012

On 21/10/2012 13:46, Alexandr Alexeev wrote:
> Thanks!
> BTW, MongoDB port has the same error:
> ===>  Installing for mongodb-2.0.6_1
> ===>   Generating temporary packing list
> ===>  Checking if databases/mongodb already installed
> ===> Creating users and/or groups.
> Using existing group `mongodb'.
> Creating user `mongodb' with uid `922'.
> pw: user 'mongodb' already exists
> *** Error code 74
> Stop in /usr/ports/databases/mongodb.
> *** Error code 1
> Stop in /usr/ports/databases/mongodb.
> ===>>> Installation of mongodb-2.0.6_1 (databases/mongodb) failed
> ===>>> Aborting update
> Terminated
> ===>>> You can restart from the point of failure with this command line:
>        portmaster <flags> databases/mongodb
> How should one report errors in such cases?

In this case, I'm afraid it looks very much as if the problem is local
to your system, and nothing wrong with the port itself.  As the
databases/mongodb port uses the generic mechanisms for handling USERS
and GROUPS it's likely that if there was a problem with the
databases/mongodb port, then you'ld be seeing similar problems with any
port that uses the same mechanism.  There would be an excess of
complaints from many users that would be hard to miss.  No such
complaining has been observed.

In short: something is wrong in the password database on your system
specifically, which is causing the installation of databases/mongodb to
throw errors.



Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 264 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20121021/33124bba/attachment.sig>

More information about the freebsd-questions mailing list