Bug 228624 - databases/postgresql95-server: pkg install fails - group `70' does not exist/unknown user pgsql
Summary: databases/postgresql95-server: pkg install fails - group `70' does not exist/...
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: pgsql
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-31 04:15 UTC by Walter Schwarzenfeld
Modified: 2018-08-10 11:50 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (pgsql)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Schwarzenfeld freebsd_triage 2018-05-31 04:15:08 UTC
pkg install postgresql95-server
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	postgresql95-server: 9.5.13 [FreeBSD]

Number of packages to be installed: 1

The process will require 18 MiB more space.

Proceed with this action? [y/N]: y
[1/1] Installing postgresql95-server-9.5.13...
===> Creating groups.
Using existing group 'pgsql'.
===> Creating users
Creating user 'pgsql' with uid '70'.
pw: group `70' does not exist
install: unknown user pgsql
pkg: PRE-INSTALL script failed
Comment 1 Palle Girgensohn freebsd_committer freebsd_triage 2018-08-10 09:07:52 UTC
Hi, we need more information around this. Version of operating system for example.

Do you still have this problem?
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-08-10 09:47:29 UTC
Problem still exists. 10.4-amd64.
Comment 3 Walter Schwarzenfeld freebsd_triage 2018-08-10 09:48:33 UTC
Only with pkg , the problem does not exist if I try to install it with the port.
Comment 4 Palle Girgensohn freebsd_committer freebsd_triage 2018-08-10 11:32:24 UTC
It seems to me you have. a group pgsql with a gid different from 70?

===> Creating groups.
Using existing group 'pgsql'.
===> Creating users
Creating user 'pgsql' with uid '70'.
pw: group `70' does not exist


it decides to use the existing group 'pgsql', but there is no group 70.
Comment 5 Walter Schwarzenfeld freebsd_triage 2018-08-10 11:45:48 UTC
Okay, my error. This was it.
Comment 6 Palle Girgensohn freebsd_committer freebsd_triage 2018-08-10 11:50:15 UTC
Excellent! Thanks!