On Wed, Aug 28, 2019 at 05:09:35PM -0400, Ryan Stone wrote: > Hi everybody, > > I lost /etc/master.passwd and friends while trying to recover from an > src upgrade gone wrong. I'm trying to run "pkg upgrade -f" to get all > of the users and groups created by packages recreating, but pkg is > hitting an assert related to uids: > > Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), > function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, > line 386. > > Is there any way to get past this, or is the system toast? Did you try restoring from the backups under /var/backups? There should be master.passwd in there which can be restored and /etc/passwd and the DB files regenarated with pwd_mkdb (I think, never tried) Regards, GaryReceived on Wed Aug 28 2019 - 19:20:38 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC